Commit 21024065 authored by Matija Čupić's avatar Matija Čupić

Preload tags when loading Ci::Pipeline

parent 91b77a16
...@@ -180,7 +180,7 @@ class Projects::PipelinesController < Projects::ApplicationController ...@@ -180,7 +180,7 @@ class Projects::PipelinesController < Projects::ApplicationController
else else
project project
.all_pipelines .all_pipelines
.includes(user: :status) .includes(builds: :tags, user: :status)
.find_by!(id: params[:id]) .find_by!(id: params[:id])
.present(current_user: current_user) .present(current_user: current_user)
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