mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 06:28:52 +00:00
FIX: Use exact patht to ensure we always redirect with the right format.
This commit is contained in:
parent
409cd72f5b
commit
2568312475
@ -578,7 +578,7 @@ class ApplicationController < ActionController::Base
|
||||
else
|
||||
# save original URL in a cookie (javascript redirects after login in this case)
|
||||
cookies[:destination_url] = destination_url
|
||||
redirect_to :login
|
||||
redirect_to "/login"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user