summaryrefslogtreecommitdiff
path: root/app/models/pages_domain.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-15 15:01:42 +0100
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-01-31 22:53:58 +0000
commit361047a7911dbf5da3c33aefa5c77a43621e5514 (patch)
tree4050709351b30264f57eed525d6a1d05bacaff25 /app/models/pages_domain.rb
parentfd7756ec3741e503197d451927849a09526423f6 (diff)
downloadgitlab-ce-361047a7911dbf5da3c33aefa5c77a43621e5514.tar.gz
Updated according to comments
Diffstat (limited to 'app/models/pages_domain.rb')
-rw-r--r--app/models/pages_domain.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/pages_domain.rb b/app/models/pages_domain.rb
index 83fdc1c630d..9155e57331d 100644
--- a/app/models/pages_domain.rb
+++ b/app/models/pages_domain.rb
@@ -24,9 +24,9 @@ class PagesDomain < ActiveRecord::Base
return unless domain
if certificate
- return "https://#{domain}"
+ "https://#{domain}"
else
- return "http://#{domain}"
+ "http://#{domain}"
end
end