diff options
Diffstat (limited to 'app/models/pages/lookup_path.rb')
-rw-r--r-- | app/models/pages/lookup_path.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/pages/lookup_path.rb b/app/models/pages/lookup_path.rb index 96c20ab03d4..ccf182e4b83 100644 --- a/app/models/pages/lookup_path.rb +++ b/app/models/pages/lookup_path.rb @@ -54,12 +54,12 @@ module Pages end strong_memoize_attr :prefix - def unique_url + def unique_host return unless project.project_setting.pages_unique_domain_enabled? - project.pages_unique_url + project.pages_unique_host end - strong_memoize_attr :unique_url + strong_memoize_attr :unique_host private |