Skip to content

Commit

Permalink
Calling method on nil error
Browse files Browse the repository at this point in the history
Similar behavior to update_search
  • Loading branch information
ceithir committed Sep 23, 2023
1 parent cdd4ad3 commit e66731c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/common_tagging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def update_wrangler
end

def update_child_autocomplete
common_tag.refresh_autocomplete
common_tag&.refresh_autocomplete
end

# A relationship should inherit its characters' fandoms
Expand Down

0 comments on commit e66731c

Please sign in to comment.