diff options
Diffstat (limited to 'app/controllers/registrations_controller.rb')
-rw-r--r-- | app/controllers/registrations_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index c0ba87bf3ed..55f06df6bb0 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -56,7 +56,6 @@ class RegistrationsController < Devise::RegistrationsController return redirect_to stored_location_or_dashboard_or_almost_there_path(current_user) if current_user.role.present? && !current_user.setup_for_company.nil? current_user.name = nil if current_user.name == current_user.username - render layout: 'devise_experimental_separate_sign_up_flow' end def update_registration @@ -68,7 +67,7 @@ class RegistrationsController < Devise::RegistrationsController set_flash_message! :notice, :signed_up redirect_to stored_location_or_dashboard_or_almost_there_path(current_user) else - render :welcome, layout: 'devise_experimental_separate_sign_up_flow' + render :welcome end end |