Method: DeviseController#devise_mapping
- Defined in:
- app/controllers/devise_controller.rb
#devise_mapping ⇒ Object (protected)
Attempt to find the mapped route for devise based on request path
60 61 62 |
# File 'app/controllers/devise_controller.rb', line 60 def devise_mapping @devise_mapping ||= request.env["devise.mapping"] end |