]> cat aescling's git repositories - mastodon.git/commit
Clean up generation of account webfinger string (#1477)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Mon, 10 Apr 2017 20:58:06 +0000 (16:58 -0400)
committerEugen <eugen@zeonfederated.com>
Mon, 10 Apr 2017 20:58:06 +0000 (22:58 +0200)
commit0687ab8ae3c2573ba2aa1d37f62e3583d0c7ab01
tree24ea1de1856ec7f203f6f89c5b8231a5d37da2cb
parent64dbde0dbf8c5d3ce820f780644d46a6b18e6743
Clean up generation of account webfinger string (#1477)

* Consolidate webfinger string creation under Account#to_webfinger_s

* Introduce Account#local_username_and_domain for consolidation
app/controllers/accounts_controller.rb
app/controllers/remote_follow_controller.rb
app/controllers/settings/exports_controller.rb
app/controllers/xrd_controller.rb
app/helpers/atom_builder_helper.rb
app/lib/atom_serializer.rb
app/models/account.rb
spec/controllers/xrd_controller_spec.rb
spec/models/account_spec.rb