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
1 changed files with 1 additions and 1 deletions

View File

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