diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-12-15 19:37:57 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-12-15 19:37:57 +0800 |
commit | 02994fbe7715ef4539f720b6d395eeb9a3d71f14 (patch) | |
tree | dd9f8e99277725619b4afb7c55f40a87db7db1c1 /app/controllers/concerns/issuable_actions.rb | |
parent | 59ac184fcf64f1812fbfd88a00ea029ca3c1f4e7 (diff) | |
download | gitlab-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.rb | 2 |
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 |