app/controllers/decidim/meetings/admin/registrations_controller.rb in decidim-meetings-0.14.4 vs app/controllers/decidim/meetings/admin/registrations_controller.rb in decidim-meetings-0.15.0

- old
+ new

@@ -14,9 +14,10 @@ def update enforce_permission_to :update, :meeting, meeting: meeting @form = MeetingRegistrationsForm.from_params(params).with_context(current_organization: meeting.organization, meeting: meeting) + @validation_form = ValidateRegistrationCodeForm.new UpdateRegistrations.call(@form, meeting) do on(:ok) do flash[:notice] = I18n.t("registrations.update.success", scope: "decidim.meetings.admin") redirect_to meetings_path