mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Alternative solution to failure app's script name handling (tests upcoming)
This commit is contained in:
parent
32f20dddd6
commit
ad0aed3ba5
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ module Devise
|
||||||
opts = {}
|
opts = {}
|
||||||
route = :"new_#{scope}_session_path"
|
route = :"new_#{scope}_session_path"
|
||||||
opts[:format] = request_format unless skip_format?
|
opts[:format] = request_format unless skip_format?
|
||||||
opts[:script_name] = nil
|
opts[:script_name] = Rails.application.config.relative_url_root
|
||||||
|
|
||||||
context = send(Devise.available_router_name)
|
context = send(Devise.available_router_name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue