mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 16:29:22 +00:00
add X so it shows up at the end of chrome
This commit is contained in:
parent
9b8b1d0034
commit
690f4a4c37
@ -145,7 +145,7 @@ class ApplicationController < ActionController::Base
|
||||
if current_user
|
||||
Logster.add_to_env(request.env,"username",current_user.username)
|
||||
end
|
||||
response.headers["Discourse-Route"] = "#{controller_name}/#{action_name}"
|
||||
response.headers["X-Discourse-Route"] = "#{controller_name}/#{action_name}"
|
||||
end
|
||||
|
||||
def set_locale
|
||||
|
Loading…
x
Reference in New Issue
Block a user