plataformatec/devise — Issue #1544: Devise.router_name isn't used in FailureApp#redirect_url, and the router isn't in context in FailureApp.
Author: BrucePerens
Created: 2012-01-03 16:58:54+00:00
State: open

`FailureApp#redirect_url` should get its paths from the router at `Devise.router_name`. That router isn't in context in `FailureApp`. I think we have to resolve and memorize it at some point in a controller, before `FailureApp` gets called. Sorry about the mess.