i guess noctua removed this

This commit is contained in:
benji 2015-09-11 22:21:18 +02:00
parent 43f4c0f727
commit 29b51a63e2

View file

@ -15,7 +15,7 @@ class ApplicationController < ActionController::Base
end
def current_client
@current_client ||= Client.find_by key: request.headers["X-API-KEY"]
@current_client ||= Client.find_by key: (request.headers["X_API_KEY"] || request.headers["HTTP_X_API_KEY"])
end
def current_ability