diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-10 16:45:59 +0100 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-01-31 22:53:57 +0000 |
commit | 0552c0b6f185433ad0a7caac321f0a6d445a0b63 (patch) | |
tree | dbe9eebfc26ca11732d2f8201b129c3abb52d5bf /app/models/pages_domain.rb | |
parent | e5e2e7b70315cbcee12db66ebc73dbd0ef4a14ae (diff) | |
download | gitlab-ce-0552c0b6f185433ad0a7caac321f0a6d445a0b63.tar.gz |
Fix views
Diffstat (limited to 'app/models/pages_domain.rb')
-rw-r--r-- | app/models/pages_domain.rb | 4 |
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 |