Fix routes for devise

This commit is contained in:
Benjamin Cousaert 2014-12-09 17:28:24 +01:00
parent 87b246fd2e
commit bb234d7463

View file

@ -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