Method: Devise::FailureApp#redirect_url
- Defined in:
- lib/devise/failure_app.rb
#redirect_url ⇒ Object (protected)
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'lib/devise/failure_app.rb', line 128 def redirect_url if == :timeout flash[:timedout] = true if is_flashing_format? path = if request.get? attempted_path else request.referrer end path || scope_url else scope_url end end |