summaryrefslogtreecommitdiff
path: root/app/views/projects/settings/_head.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/settings/_head.html.haml')
-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