diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-12 19:57:22 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-13 11:03:39 +0200 |
commit | 406a796f76824e18f4dca2d29c41dcc3d2e4d457 (patch) | |
tree | 15faba18fd0132c0380cb91524855865037bd6f6 /app/controllers/projects/pipelines_controller.rb | |
parent | e84c155f092600b90be291f0f7bb649811fa53fb (diff) | |
download | gitlab-ce-406a796f76824e18f4dca2d29c41dcc3d2e4d457.tar.gz |
Make Pipeline view work
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 764c8cc9cca..a3e72fbdef1 100644 --- a/app/controllers/projects/pipelines_controller.rb +++ b/app/controllers/projects/pipelines_controller.rb @@ -1,4 +1,4 @@ -class Projects::PipelineController < Projects::ApplicationController +class Projects::PipelinesController < Projects::ApplicationController before_action :ci_commit, except: [:index, :new, :create] before_action :authorize_read_pipeline! before_action :authorize_create_pipeline!, only: [:new, :create] |