app/controllers/decidim/conferences/admin/conference_registrations_controller.rb in decidim-conferences-0.18.1 vs app/controllers/decidim/conferences/admin/conference_registrations_controller.rb in decidim-conferences-0.19.0
- old
+ new
@@ -50,9 +50,10 @@
@conference ||= Decidim::Conference.find_by(slug: params[:conference_slug])
end
def conference_registration
return if params[:id].blank?
+
@conference_registration ||= conference.conference_registrations.find_by(id: params[:id])
end
end
end
end