Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2017-06-22 08:19:14 +0300
committerDouwe Maan <douwe@selenight.nl>2017-07-26 12:05:44 +0300
commitcc3a82bc8bf0af9a8b7deb1b289aee621c91f7da (patch)
tree20be7c1dcb0951b6b38c0a4eaca4cd27debc2f14 /lib/gitlab/request_forgery_protection.rb
parent8ce8b21f675709c884148d050663b9f2374cdc61 (diff)
Add `rescue false`.
Diffstat (limited to 'lib/gitlab/request_forgery_protection.rb')
-rw-r--r--lib/gitlab/request_forgery_protection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/request_forgery_protection.rb b/lib/gitlab/request_forgery_protection.rb
index 071a72a1f8b..b0e15e2b655 100644
--- a/lib/gitlab/request_forgery_protection.rb
+++ b/lib/gitlab/request_forgery_protection.rb
@@ -2,7 +2,7 @@
# It's used in API helpers and OmniAuth.
# Usage: GitLab::RequestForgeryProtection.call(env)
-module GitLab
+module Gitlab
module RequestForgeryProtection
class Controller < ActionController::Base
protect_from_forgery with: :exception