Skip to content

Commit

Permalink
Fix redirect when authenticating mounted apps
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanensari committed Mar 15, 2012
1 parent 939d0f2 commit b37a745
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/devise/failure_app.rb
Expand Up @@ -88,6 +88,7 @@ def scope_path
opts = {}
route = :"new_#{scope}_session_path"
opts[:format] = request_format unless skip_format?
opts[:script_name] = nil

context = send(Devise.available_router_name)

Expand Down

0 comments on commit b37a745

Please sign in to comment.