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 |
# File 'lib/devise/rails/routes.rb', line 5 def finalize_with_devise! finalize_without_devise! Devise.configure_warden! ActionController::Base.send :include, Devise::Controllers::Helpers end |