summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/boards_responses.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-11-06 22:40:19 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-11-06 22:40:19 +0800
commitf8b681f6e985d49b39d399d60666b051a60a6502 (patch)
treef18b6f54030cb3f21fafbc50ebd390281e22d413 /app/controllers/concerns/boards_responses.rb
parentfc6aad0b4442c58fde1ac924cb2dd73823273537 (diff)
downloadgitlab-ce-f8b681f6e985d49b39d399d60666b051a60a6502.tar.gz
WIP
Diffstat (limited to 'app/controllers/concerns/boards_responses.rb')
-rw-r--r--app/controllers/concerns/boards_responses.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/controllers/concerns/boards_responses.rb b/app/controllers/concerns/boards_responses.rb
index 058e4591770..2246ad7a4e6 100644
--- a/app/controllers/concerns/boards_responses.rb
+++ b/app/controllers/concerns/boards_responses.rb
@@ -23,14 +23,12 @@ module BoardsResponses
return render_403 unless can?(current_user, ability, resource)
end
- # rubocop:disable Cop/ModuleWithInstanceVariables
def respond_with_boards
- respond_with(@boards)
+ respond_with(@boards) # rubocop:disable Cop/ModuleWithInstanceVariables
end
- # rubocop:disable Cop/ModuleWithInstanceVariables
def respond_with_board
- respond_with(@board)
+ respond_with(@board) # rubocop:disable Cop/ModuleWithInstanceVariables
end
def respond_with(resource)