diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-05 06:08:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-05 06:08:14 +0300 |
commit | fdb5a6d73c634c2545cd2cb70cdc0a3b1458c712 (patch) | |
tree | 53443e41b232b4aa7ec000e265df5dd2152b94cf /app/controllers | |
parent | f11cce04caba6363b1e8d33989e5671819d1d502 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/application_controller.rb | 2 |
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! |