FEATURE: serialize the fact we are https in about

This commit is contained in:
Sam 2014-11-24 17:54:17 +11:00
parent 4d936325e7
commit 0111cb4cc2
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,10 @@ class About
Discourse::VERSION::STRING
end
def https
SiteSetting.use_https
end
def title
SiteSetting.title
end

View File

@ -6,5 +6,6 @@ class AboutSerializer < ApplicationSerializer
:description,
:title,
:locale,
:version
:version,
:https
end