app/events/decidim/attachment_created_event.rb in decidim-admin-0.16.1 vs app/events/decidim/attachment_created_event.rb in decidim-admin-0.17.0
- old
+ new
@@ -7,10 +7,10 @@
def resource_path
@resource.url
end
def resource_url
- @resource.url
+ attached_to_url
end
def resource_text
translated_attribute(
resource.try(:description) ||