summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/issuable_actions.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-12-15 19:37:57 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-12-15 19:37:57 +0800
commit02994fbe7715ef4539f720b6d395eeb9a3d71f14 (patch)
treedd9f8e99277725619b4afb7c55f40a87db7db1c1 /app/controllers/concerns/issuable_actions.rb
parent59ac184fcf64f1812fbfd88a00ea029ca3c1f4e7 (diff)
downloadgitlab-ce-02994fbe7715ef4539f720b6d395eeb9a3d71f14.tar.gz
Backport changes from EE
Diffstat (limited to 'app/controllers/concerns/issuable_actions.rb')
-rw-r--r--app/controllers/concerns/issuable_actions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/issuable_actions.rb b/app/controllers/concerns/issuable_actions.rb
index a2b6ec7bb6a..c3013884369 100644
--- a/app/controllers/concerns/issuable_actions.rb
+++ b/app/controllers/concerns/issuable_actions.rb
@@ -81,7 +81,7 @@ module IssuableActions
private
def recaptcha_check_if_spammable(should_redirect = true, &block)
- return yield unless @issuable.is_a? Spammable
+ return yield unless issuable.is_a? Spammable
recaptcha_check_with_fallback(should_redirect, &block)
end