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 /lib/api/helpers.rb | |
parent | f11cce04caba6363b1e8d33989e5671819d1d502 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index db08bc6c63a..56b157f662a 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -412,7 +412,7 @@ module API end def require_pages_enabled! - not_found! unless user_project.pages_available? + not_found! unless ::Gitlab::Pages.enabled? end def require_pages_config_enabled! |