]> cat aescling's git repositories - mastodon.git/commit
Use Setting.site_title value for `og:site_name` occurrences (#1194)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Sat, 8 Apr 2017 10:15:40 +0000 (06:15 -0400)
committerEugen <eugen@zeonfederated.com>
Sat, 8 Apr 2017 10:15:40 +0000 (12:15 +0200)
commitca44c134554585ac4fe5dfa301f82697224ded9d
tree2ea21342a7f5d7f0983c3287167c2d34357b67f2
parenta345eb44fc502a0f255d1017313342649e8d4ee0
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
app/helpers/site_title_helper.rb [new file with mode: 0644]
app/views/about/index.html.haml
app/views/accounts/show.html.haml
app/views/layouts/application.html.haml
app/views/stream_entries/show.html.haml
spec/helpers/site_title_helper_spec.rb [new file with mode: 0644]