Skip to content

Commit

Permalink
fix when context.about was destroyed without context deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
SebouChu committed Mar 3, 2025
1 parent bca1172 commit c4b3bea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ partial = "admin/communication/medias/contexts/#{key}"
<% rescue %>
<%
object = context.about
next if object.nil?
# If it's a localization, get real object
if object.respond_to?(:about)
object = object.about
Expand Down

0 comments on commit c4b3bea

Please sign in to comment.