mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 11:31:11 +08:00
FEATURE: serialize the fact we are https in about
This commit is contained in:
parent
4d936325e7
commit
0111cb4cc2
app
@ -8,6 +8,10 @@ class About
|
||||
Discourse::VERSION::STRING
|
||||
end
|
||||
|
||||
def https
|
||||
SiteSetting.use_https
|
||||
end
|
||||
|
||||
def title
|
||||
SiteSetting.title
|
||||
end
|
||||
|
@ -6,5 +6,6 @@ class AboutSerializer < ApplicationSerializer
|
||||
:description,
|
||||
:title,
|
||||
:locale,
|
||||
:version
|
||||
:version,
|
||||
:https
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user