diff --git a/app/models/about.rb b/app/models/about.rb index ceaff5ea968..83dea16ec17 100644 --- a/app/models/about.rb +++ b/app/models/about.rb @@ -8,6 +8,10 @@ class About Discourse::VERSION::STRING end + def https + SiteSetting.use_https + end + def title SiteSetting.title end diff --git a/app/serializers/about_serializer.rb b/app/serializers/about_serializer.rb index b56a1658807..63d795499e6 100644 --- a/app/serializers/about_serializer.rb +++ b/app/serializers/about_serializer.rb @@ -6,5 +6,6 @@ class AboutSerializer < ApplicationSerializer :description, :title, :locale, - :version + :version, + :https end