]> cat aescling's git repositories - mastodon.git/commit
Instance helper to replace site title helper (#2038)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Mon, 17 Apr 2017 22:16:32 +0000 (18:16 -0400)
committerEugen <eugen@zeonfederated.com>
Mon, 17 Apr 2017 22:16:32 +0000 (00:16 +0200)
commit389f8f824909d60b7560248465416bd4bed92b6b
tree182b37bee6b43d9da4c2b498448aa37eaec4eced
parente1e15adf1d994dda0fa868bcdd55cb8603d6f1ef
Instance helper to replace site title helper (#2038)

* Move site title helper to instance helper (name change only)

* Remove newline in <title> tag

* Add site_hostname helper method to wrap up local_domain value

* Use site_hostname helper in places that need local_domain value
19 files changed:
app/helpers/instance_helper.rb [new file with mode: 0644]
app/helpers/site_title_helper.rb [deleted file]
app/mailers/application_mailer.rb
app/mailers/user_mailer.rb
app/views/about/more.html.haml
app/views/about/show.html.haml
app/views/about/terms.en.html.haml
app/views/about/terms.no.html.haml
app/views/accounts/show.html.haml
app/views/api/oembed/show.json.rabl
app/views/api/v1/instances/show.rabl
app/views/home/initial_state.json.rabl
app/views/layouts/application.html.haml
app/views/layouts/mailer.text.erb
app/views/layouts/public.html.haml
app/views/shared/_landing_strip.html.haml
app/views/stream_entries/show.html.haml
spec/helpers/instance_helper_spec.rb [new file with mode: 0644]
spec/helpers/site_title_helper_spec.rb [deleted file]