summaryrefslogtreecommitdiff
path: root/app/models/pages_domain.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-14 19:58:45 +0100
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-01-31 22:53:57 +0000
commitb7fd7daee4610674a2301c618fd60b8997f2cf8a (patch)
treec742c6336e271501bac1e1feae74027a58a6c721 /app/models/pages_domain.rb
parentd3b828487647f106a8947864e18ac1ad7bd9d6f4 (diff)
downloadgitlab-ce-b7fd7daee4610674a2301c618fd60b8997f2cf8a.tar.gz
Fix rubocop complains
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 b594957493a..83fdc1c630d 100644
--- a/app/models/pages_domain.rb
+++ b/app/models/pages_domain.rb
@@ -62,12 +62,12 @@ class PagesDomain < ActiveRecord::Base
def expired?
return false unless x509
current = Time.new
- return current < x509.not_before || x509.not_after < current
+ current < x509.not_before || x509.not_after < current
end
def subject
return unless x509
- return x509.subject.to_s
+ x509.subject.to_s
end
def certificate_text