1
0
Fork 1
forked from fedi/mastodon
mastodon/app/helpers/site_title_helper.rb
Matt Jankowski ca44c13455 Use Setting.site_title value for og:site_name occurrences (#1194)
* Add helper method to return Setting.site_title

* Use site_title helper in application layout

* Use site_title value for og:site_name
2017-04-08 12:15:40 +02:00

8 lines
109 B
Ruby

# frozen_string_literal: true
module SiteTitleHelper
def site_title
Setting.site_title.to_s
end
end