add X so it shows up at the end of chrome

This commit is contained in:
Sam 2015-06-16 10:27:42 +10:00
parent 9b8b1d0034
commit 690f4a4c37
1 changed files with 1 additions and 1 deletions

View File

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