Merge pull request #34 from coopdevs/sign_in_home
redirect to users_path after sign in
This commit is contained in:
@@ -40,6 +40,10 @@ class ApplicationController < ActionController::Base
|
||||
devise_parameter_sanitizer.for(:sign_up) << :username
|
||||
end
|
||||
|
||||
def after_sign_in_path_for(resource)
|
||||
users_path
|
||||
end
|
||||
|
||||
|
||||
private
|
||||
|
||||
|
||||
Reference in New Issue
Block a user