summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-10-13 21:21:58 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-13 21:21:58 +0200
commitc278520f9b96347868ce4f65b0d59aa6197e333d (patch)
treea0bb9b3aab46bede9bd8cb7761add8d3318cbd3a /app/controllers
parente261de255dfff71f5acc7d33f339a30a3cb32ab9 (diff)
downloadgitlab-ce-c278520f9b96347868ce4f65b0d59aa6197e333d.tar.gz
Remove unused dev_tools helper.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/application_controller.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 13d8d2a3e0a..1c7fcac6a53 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -7,7 +7,6 @@ class ApplicationController < ActionController::Base
before_filter :check_password_expiration
before_filter :add_abilities
before_filter :ldap_security_check
- before_filter :dev_tools if Rails.env == 'development'
before_filter :default_headers
before_filter :add_gon_variables
before_filter :configure_permitted_parameters, if: :devise_controller?
@@ -170,9 +169,6 @@ class ApplicationController < ActionController::Base
response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT"
end
- def dev_tools
- end
-
def default_headers
headers['X-Frame-Options'] = 'DENY'
headers['X-XSS-Protection'] = '1; mode=block'