diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-25 09:10:14 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-25 09:10:14 +0000 |
commit | 919f0e86ba5997120d02601e648543d1682e8260 (patch) | |
tree | a19cd58b0d82a56f46e6c02535253461149b1c6b /app/models/pages_domain.rb | |
parent | 866b1f8ed7db9b29b1188ffcba309b92572f354b (diff) | |
download | gitlab-ce-919f0e86ba5997120d02601e648543d1682e8260.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/pages_domain.rb')
-rw-r--r-- | app/models/pages_domain.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/pages_domain.rb b/app/models/pages_domain.rb index 16d5492a65e..8b15db7badc 100644 --- a/app/models/pages_domain.rb +++ b/app/models/pages_domain.rb @@ -50,7 +50,7 @@ class PagesDomain < ApplicationRecord scope :for_project, ->(project) { where(project: project) } - scope :enabled, -> { where('enabled_until >= ?', Time.current ) } + scope :enabled, -> { where('enabled_until >= ?', Time.current) } scope :needs_verification, -> do verified_at = arel_table[:verified_at] enabled_until = arel_table[:enabled_until] |