Class: ActionDispatch::Routing::RouteSet
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::RouteSet
- Defined in:
- lib/devise/rails/routes.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#finalize_with_devise! ⇒ Object
Ensure Devise modules are included only after loading routes, because we need devise_for mappings already declared to create filters and helpers.
Instance Method Details
#finalize_with_devise! ⇒ Object
Ensure Devise modules are included only after loading routes, because we need devise_for mappings already declared to create filters and helpers.
5 6 7 8 9 10 11 12 13 |
# File 'lib/devise/rails/routes.rb', line 5 def finalize_with_devise! finalize_without_devise! @devise_finalized ||= begin Devise.configure_warden! Devise.regenerate_helpers! true end end |