Skip to content

Commit

Permalink
Merge pull request #2086 from tf/after-sign-in-out
Browse files Browse the repository at this point in the history
Remove unused Devise helpers
  • Loading branch information
tf authored Mar 4, 2024
2 parents f6f53f1 + d2627f4 commit d538c2b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/controllers/pageflow/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ def current_ability
@current_ability ||= Ability.new(current_user)
end

def after_sign_in_path_for(resource_or_scope)
root_url(:protocol => 'http')
end

def after_sign_out_path_for(resource_or_scope)
root_url(:protocol => 'http')
end

def locale_from_accept_language_header
http_accept_language.compatible_language_from(I18n.available_locales)
end
Expand Down

0 comments on commit d538c2b

Please sign in to comment.