Commit 8f3c8448 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix rubocop error

parent d92b9fef
...@@ -248,7 +248,8 @@ class Projects::MergeRequestsController < Projects::ApplicationController ...@@ -248,7 +248,8 @@ class Projects::MergeRequestsController < Projects::ApplicationController
render json: { render json: {
pipelines: PipelineSerializer pipelines: PipelineSerializer
.new(project: @project, user: @current_user) .new(project: @project, user: @current_user)
.represent(@pipelines) } .represent(@pipelines)
}
end end
end end
end end
......
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