Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-17 02:48:51 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-18 15:46:20 +0300
commite00da96c88314df79600e7848ae6fe7e4a29af2e (patch)
tree48d3da01b161442812fb83939f4cbeafdf9be7e3 /app/controllers/projects/builds_controller.rb
parent3248c9fb56e5d5cb8980cb37effec1ee2f4f664a (diff)
Improve manual actions code and add model, service and feature tests
Manual actions are accessible from: - Pipelines - Builds - Environments - Deployments
Diffstat (limited to 'app/controllers/projects/builds_controller.rb')
-rw-r--r--app/controllers/projects/builds_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/builds_controller.rb b/app/controllers/projects/builds_controller.rb
index 597cfa93712..d64d1e52e2c 100644
--- a/app/controllers/projects/builds_controller.rb
+++ b/app/controllers/projects/builds_controller.rb
@@ -1,6 +1,6 @@
class Projects::BuildsController < Projects::ApplicationController
before_action :build, except: [:index, :cancel_all]
- before_action :authorize_read_build!, except: [:cancel, :cancel_all, :retry]
+ before_action :authorize_read_build!, except: [:cancel, :cancel_all, :retry, :play]
before_action :authorize_update_build!, except: [:index, :show, :status, :raw]
layout 'project'