diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 1933cf4..038ae7f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -5,11 +5,11 @@ class ApplicationController < ActionController::Base before_action :configure_permitted_parameters, if: :devise_controller? def after_sign_in_path_for(resource) - new_user_session_path + root_path end def after_sign_up_path_for(resource) - root_path + new_user_session_path end include OrdersHelper