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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-05 06:08:14 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-05 06:08:14 +0300
commitfdb5a6d73c634c2545cd2cb70cdc0a3b1458c712 (patch)
tree53443e41b232b4aa7ec000e265df5dd2152b94cf /app/controllers
parentf11cce04caba6363b1e8d33989e5671819d1d502 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/application_controller.rb b/app/controllers/projects/application_controller.rb
index 62233c8c3c9..30c6f4d865a 100644
--- a/app/controllers/projects/application_controller.rb
+++ b/app/controllers/projects/application_controller.rb
@@ -85,7 +85,7 @@ class Projects::ApplicationController < ApplicationController
end
def require_pages_enabled!
- not_found unless @project.pages_available?
+ not_found unless ::Gitlab::Pages.enabled?
end
def check_issues_available!