diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-05-23 16:23:43 +0200 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-02 19:45:58 +0200 |
commit | 770f07cd5c68075bb261f4b6139c92b2ac9309c0 (patch) | |
tree | a62d6a11602734a88db1b7f5682ddfed2e9e9b99 /app/controllers/health_controller.rb | |
parent | 394e962e52efdff36e3fae974ea51e9e2883f382 (diff) | |
download | gitlab-ce-770f07cd5c68075bb261f4b6139c92b2ac9309c0.tar.gz |
Make login_counter instance variable instead of class one.
+ remove unecessarey require
+ fix small formatiing issues
Diffstat (limited to 'app/controllers/health_controller.rb')
-rw-r--r-- | app/controllers/health_controller.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/health_controller.rb b/app/controllers/health_controller.rb index b646216caa2..abc832e6ddc 100644 --- a/app/controllers/health_controller.rb +++ b/app/controllers/health_controller.rb @@ -1,5 +1,3 @@ -require 'prometheus/client/formats/text' - class HealthController < ActionController::Base protect_from_forgery with: :exception include RequiresHealthToken |