mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
13 lines
251 B
Ruby
13 lines
251 B
Ruby
class ApplicationController < ActionController::Base
|
|
protect_from_forgery
|
|
|
|
def after_sign_in_path_for(resource_or_scope)
|
|
admin_dashboard_path
|
|
end
|
|
|
|
def after_sign_out_path_for(resource_or_scope)
|
|
new_admin_user_session_path
|
|
end
|
|
|
|
end
|