Last active
September 21, 2015 19:14
-
-
Save yamaaki/d3b1ff1c7fa6467b9bf4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Admin::Admins::SessionsController < ::Devise::SessionsController | |
layout 'admin/layouts/application' | |
def after_sign_in_path_for(resource) | |
admin_root_path | |
end | |
def after_sign_out_path_for(resource) | |
new_admin_session_path | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment