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:
Diffstat (limited to 'app/models/pages/lookup_path.rb')
-rw-r--r--app/models/pages/lookup_path.rb6
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