This file contains 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 ApplicationController < ActionController::Base | |
# Tell Devise to redirect after sign_in | |
def after_sign_in_path_for(resource_or_scope) | |
some_url(:protocol => 'http') | |
end | |
# Tell Devise to redirect after sign_out | |
def after_sign_out_path_for(resource_or_scope) | |
some_url(:protocol => 'http') | |
end |