1
0
Fork 0
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:
José Valim 2012-05-09 18:03:23 +02:00
parent 32f20dddd6
commit ad0aed3ba5

View file

@ -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)