small fix with save navigation on thumb method for volunteer

parent 503b094c
Pipeline #89449 passed with stage
in 15 minutes and 21 seconds
......@@ -102,7 +102,7 @@ class Volunteer < ApplicationRecord
unless: :user_deleted?
def avatar_thumb
avatar.variant(resize: '100x100>').processed
avatar&.variant(resize: '100x100>')&.processed
# allot of old records would cause app to crash if validation would run for them
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment