summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/boards_responses.rb
diff options
context:
space:
mode:
authorcharlieablett <cablett@gitlab.com>2019-06-07 13:56:40 +1200
committercharlieablett <cablett@gitlab.com>2019-06-10 19:55:37 +1200
commit714018145cb0ea3265dcfa64c9b4baa33dee588f (patch)
treeface868d9c4bd50c22b7df869f6f0a04788cdb4a /app/controllers/concerns/boards_responses.rb
parent27dd0b8e3609aae92b8e59dd202a999fc1db5a4e (diff)
downloadgitlab-ce-714018145cb0ea3265dcfa64c9b4baa33dee588f.tar.gz
Add `to_json` to `represent` method call
Diffstat (limited to 'app/controllers/concerns/boards_responses.rb')
-rw-r--r--app/controllers/concerns/boards_responses.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/boards_responses.rb b/app/controllers/concerns/boards_responses.rb
index ce2740147f7..128409a2eef 100644
--- a/app/controllers/concerns/boards_responses.rb
+++ b/app/controllers/concerns/boards_responses.rb
@@ -69,7 +69,7 @@ module BoardsResponses
end
def serialize_as_json(resource)
- serializer.represent(resource)
+ serializer.represent(resource).to_json
end
def respond_with(resource)