Alternative solution to failure app's script name handling (tests upcoming)
This commit is contained in:
parent
32f20dddd6
commit
ad0aed3ba5
|
@ -88,7 +88,7 @@ module Devise
|
|||
opts = {}
|
||||
route = :"new_#{scope}_session_path"
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue