diff options
author | Rydkin Maxim <maks.rydkin@gmail.com> | 2017-04-04 22:21:12 +0300 |
---|---|---|
committer | Rydkin Maxim <maks.rydkin@gmail.com> | 2017-04-04 22:21:12 +0300 |
commit | 2d4fd769a7a53f6f8ac1cd0331a8eb6b625dc8b6 (patch) | |
tree | 385813dd266d05ecd2b01be9364be2c902623512 /app/controllers/projects/pipelines_controller.rb | |
parent | c9806b47b868ca5fe424476077262edc1d64cac0 (diff) |
replaced one more helper with presenter
Diffstat (limited to 'app/controllers/projects/pipelines_controller.rb')
-rw-r--r-- | app/controllers/projects/pipelines_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipelines_controller.rb b/app/controllers/projects/pipelines_controller.rb index 43a1abaa662..0da0420185d 100644 --- a/app/controllers/projects/pipelines_controller.rb +++ b/app/controllers/projects/pipelines_controller.rb @@ -114,7 +114,7 @@ class Projects::PipelinesController < Projects::ApplicationController end def pipeline - @pipeline ||= project.pipelines.find_by!(id: params[:id]) + @pipeline ||= project.pipelines.find_by!(id: params[:id]).present(current_user: current_user) end def commit |