app/controllers/decidim/conferences/conference_registrations_controller.rb in decidim-conferences-0.18.1 vs app/controllers/decidim/conferences/conference_registrations_controller.rb in decidim-conferences-0.19.0
- old
+ new
@@ -63,9 +63,10 @@
end
def redirect_after_path
referer = request.headers["Referer"]
return redirect_to(conference_path(conference)) if referer =~ /invitation_token/
+
redirect_back fallback_location: conference_path(conference)
end
end
end
end