mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
![]() Previously, a `NoMethodError` exception would be raised from here when the middleware stack isn't present and Warden wasn't injected as expected (like in a controller test). To foolproof ourselves, we now raise a more informative error when `request.env['warden']` is `nil` so developers can figure this out on their own instead of reaching to the issue tracker for guidance. |
||
---|---|---|
.. | ||
devise | ||
generators | ||
devise.rb |