Method: Devise::FailureApp#is_flashing_format?
- Defined in:
- lib/devise/failure_app.rb
#is_flashing_format? ⇒ Boolean (protected)
Check if flash messages should be emitted. Default is to do it on navigational formats
258 259 260 |
# File 'lib/devise/failure_app.rb', line 258 def is_flashing_format? request.respond_to?(:flash) && end |