summaryrefslogtreecommitdiff
path: root/app/views/projects/settings
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-04 15:30:03 +0100
committerPhil Hughes <me@iamphill.com>2017-09-04 15:30:03 +0100
commit3569b2e2d715ffeecf27e26cf3d8c9ec08b8ad49 (patch)
tree2c3ccbe19c476d543956a72d8a63cfbae5aa4bae /app/views/projects/settings
parentf0248fa8c0620eb70e70b8ccdcff89ee7797ac4f (diff)
parentebbbc7ef52fbd1d3339e2e21be967d313a074a28 (diff)
downloadgitlab-ce-3569b2e2d715ffeecf27e26cf3d8c9ec08b8ad49.tar.gz
Merge branch 'master' into breadcrumbs-improvements
Diffstat (limited to 'app/views/projects/settings')
-rw-r--r--app/views/projects/settings/_head.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings/_head.html.haml b/app/views/projects/settings/_head.html.haml
index 15ba09b10ba..7d24c6a9122 100644
--- a/app/views/projects/settings/_head.html.haml
+++ b/app/views/projects/settings/_head.html.haml
@@ -23,7 +23,7 @@
= link_to project_settings_ci_cd_path(@project), title: 'Pipelines' do
%span
Pipelines
- - if Gitlab.config.pages.enabled
+ - if @project.pages_available?
= nav_link(controller: :pages) do
= link_to project_pages_path(@project), title: 'Pages' do
%span