summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-22 12:03:32 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-23 09:32:42 -0600
commite2bbbb1a9aea72e4313cdc257460eb416fe8dc0b (patch)
tree38d334adcffc86edb6024fe2d77506d601093ed2 /app/controllers
parent75f5fa997de148c9bc0e5bd6e6f6050526a0b164 (diff)
downloadgitlab-ce-e2bbbb1a9aea72e4313cdc257460eb416fe8dc0b.tar.gz
Fix new offenses
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/concerns/spammable_actions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/spammable_actions.rb b/app/controllers/concerns/spammable_actions.rb
index da225d8f1c7..d0a692070d9 100644
--- a/app/controllers/concerns/spammable_actions.rb
+++ b/app/controllers/concerns/spammable_actions.rb
@@ -27,7 +27,7 @@ module SpammableActions
render :verify
else
- fallback.call
+ yield
end
end