fix redirect

This commit is contained in:
Alex Turchyn committed 2023-08-31 02:10:10 +03:00
1 parent ceb052b158
commit c098e61947
2 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ class RegistrationsController < Devise::RegistrationsController
return unless signed_in?
return if params[:redir].blank?
redirect_to after_sign_up_path_for(current_user)
redirect_to after_sign_up_path_for(current_user), allow_other_host: true
end
def require_no_authentication