Fix Projects::BoardsController#index to serialize board name

parent 8d7d54ac
......@@ -83,6 +83,6 @@ class Projects::BoardsController < Projects::ApplicationController
end
def serialize_as_json(resource)
resource.as_json(only: [:id])
resource.as_json(only: [:id, :name])
end
end
{
"type": "object",
"required" : [
"id"
"id",
"name"
],
"properties" : {
"id": { "type": "integer" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment