diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-07 23:51:13 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-09 17:21:39 +0200 |
commit | b173ae6b48323b22f5650e97cd797fa9c49e6cd8 (patch) | |
tree | 9c1266742aa0b8e785fab9a6054b32d4029ba22e /app/controllers/application_controller.rb | |
parent | af0c69170695f43b15db9c93ae2f2b8ebaaa96b6 (diff) | |
download | gitlab-ce-b173ae6b48323b22f5650e97cd797fa9c49e6cd8.tar.gz |
Fix linting, route, and specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7c1a4759cf2..91694ebcd1d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -19,7 +19,7 @@ class ApplicationController < ActionController::Base before_action :ldap_security_check before_action :sentry_context before_action :default_headers - before_action :add_gon_variables, unless: -> { request.path.start_with?('/peek') } + before_action :add_gon_variables, unless: -> { request.path.start_with?('/-/peek') } before_action :configure_permitted_parameters, if: :devise_controller? before_action :require_email, unless: :devise_controller? |