diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-21 11:55:36 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-21 11:55:36 +0300 |
commit | 1657750a6a63bd4ed05c477621e206b11b228319 (patch) | |
tree | a127e3b1ccf4f709d6ce978ded0f532f2976a52a /app/controllers/application_controller.rb | |
parent | c3b81e5f400ebc935683fc2cf0e561b2b17a1052 (diff) | |
parent | c278520f9b96347868ce4f65b0d59aa6197e333d (diff) | |
download | gitlab-ce-1657750a6a63bd4ed05c477621e206b11b228319.tar.gz |
Merge pull request #8028 from cirosantilli/rm-dev-tools
Remove unused dev_tools helper.
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index a635f877446..548d5e4d4c7 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? @@ -165,9 +164,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' |