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:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-10 18:45:59 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-02-01 01:53:57 +0300
commit0552c0b6f185433ad0a7caac321f0a6d445a0b63 (patch)
treedbe9eebfc26ca11732d2f8201b129c3abb52d5bf /app/models/pages_domain.rb
parente5e2e7b70315cbcee12db66ebc73dbd0ef4a14ae (diff)
Fix views
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 810af4e832a..985329bb856 100644
--- a/app/models/pages_domain.rb
+++ b/app/models/pages_domain.rb
@@ -71,8 +71,6 @@ class PagesDomain < ActiveRecord::Base
@fingeprint ||= OpenSSL::Digest::SHA256.new(x509.to_der).to_s
end
- private
-
def x509
return unless certificate
@x509 ||= OpenSSL::X509::Certificate.new(certificate)
@@ -87,6 +85,8 @@ class PagesDomain < ActiveRecord::Base
nil
end
+ private
+
def update
::Projects::UpdatePagesConfigurationService.new(project).execute
end