diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-02-28 16:48:39 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-06 10:04:04 +0100 |
commit | be039d22d71afa7c8b2635cd8820b8b4566d15b8 (patch) | |
tree | 2bbd17d43614ae93ed5bca9cb901fb788ce33b37 /app/serializers | |
parent | 6cc02e084f96d7d3cb56870cbe545c67e6a564bb (diff) | |
download | gitlab-ce-be039d22d71afa7c8b2635cd8820b8b4566d15b8.tar.gz |
Make manual actions blocking
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/build_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/build_entity.rb b/app/serializers/build_entity.rb index b5384e6462b..5bcbe285052 100644 --- a/app/serializers/build_entity.rb +++ b/app/serializers/build_entity.rb @@ -12,7 +12,7 @@ class BuildEntity < Grape::Entity path_to(:retry_namespace_project_build, build) end - expose :play_path, if: ->(build, _) { build.manual? } do |build| + expose :play_path, if: ->(build, _) { build.playable? } do |build| path_to(:play_namespace_project_build, build) end |