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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-11 20:25:53 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-11 20:25:53 +0300
commit2b683807b52d4b7d156da31ed9e1f8aa20c248d9 (patch)
treebbe5226dbcab0b7ee352265c121720837115e727 /app/controllers
parente3c30bf2e84462810bd8eff941681682a7ce6dc7 (diff)
Use GitLab UI when render CI
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/ci/builds_controller.rb1
-rw-r--r--app/controllers/ci/commits_controller.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/ci/builds_controller.rb b/app/controllers/ci/builds_controller.rb
index 28fad3671f7..9338b37e678 100644
--- a/app/controllers/ci/builds_controller.rb
+++ b/app/controllers/ci/builds_controller.rb
@@ -7,6 +7,7 @@ module Ci
before_filter :authorize_manage_project!, except: [:status, :show, :retry, :cancel]
before_filter :authorize_manage_builds!, only: [:retry, :cancel]
before_filter :build, except: [:show]
+ layout 'ci/project'
def show
if params[:id] =~ /\A\d+\Z/
diff --git a/app/controllers/ci/commits_controller.rb b/app/controllers/ci/commits_controller.rb
index 0f7f5485661..f0c0ff1bc11 100644
--- a/app/controllers/ci/commits_controller.rb
+++ b/app/controllers/ci/commits_controller.rb
@@ -6,6 +6,7 @@ module Ci
before_filter :authorize_access_project!, except: [:status, :show, :cancel]
before_filter :authorize_manage_builds!, only: [:cancel]
before_filter :commit, only: :show
+ layout 'ci/project'
def show
@builds = @commit.builds