diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2015-12-17 15:17:00 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:12 +0100 |
commit | a96d45c694bd8fe7d07283d0b46725ca8e4c281b (patch) | |
tree | 803a4367ce029f758323ab24039ddf52e46a24af /app/controllers | |
parent | 79fe18d9e7290fb880f1feb5f2c9f3f96b2d74fe (diff) | |
download | gitlab-ce-a96d45c694bd8fe7d07283d0b46725ca8e4c281b.tar.gz |
Add view action to artifacts controller
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/builds/artifacts_controller.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/projects/builds/artifacts_controller.rb b/app/controllers/projects/builds/artifacts_controller.rb index fd2195d2460..bb70d801d8c 100644 --- a/app/controllers/projects/builds/artifacts_controller.rb +++ b/app/controllers/projects/builds/artifacts_controller.rb @@ -14,6 +14,10 @@ class Projects::Builds::ArtifactsController < Projects::ApplicationController send_file artifacts_file.path, disposition: 'attachment' end + def view + @metadata = build.artifacts_metadata + end + private def build |