FEATURE: serialize the fact we are https in about
This commit is contained in:
parent
4d936325e7
commit
0111cb4cc2
|
@ -8,6 +8,10 @@ class About
|
||||||
Discourse::VERSION::STRING
|
Discourse::VERSION::STRING
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def https
|
||||||
|
SiteSetting.use_https
|
||||||
|
end
|
||||||
|
|
||||||
def title
|
def title
|
||||||
SiteSetting.title
|
SiteSetting.title
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,5 +6,6 @@ class AboutSerializer < ApplicationSerializer
|
||||||
:description,
|
:description,
|
||||||
:title,
|
:title,
|
||||||
:locale,
|
:locale,
|
||||||
:version
|
:version,
|
||||||
|
:https
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue