]> cat aescling's git repositories - mastodon.git/commit
Clean up settings/preferences controller (#2237)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Fri, 21 Apr 2017 01:26:52 +0000 (21:26 -0400)
committerEugen <eugen@zeonfederated.com>
Fri, 21 Apr 2017 01:26:52 +0000 (03:26 +0200)
commit2dda356e3fc7000ea630b802588cb91df296a89f
tree0a0b05f9d196fbc9706e15af9a5f950d31a0bdd7
parent972f6bc861affd9bc40181492833108f905a04b6
Clean up settings/preferences controller (#2237)

* Add missing fields group on preferences page

* Clean up settings/preferences controller

* Extract a UserSettingsDecorator
app/controllers/settings/preferences_controller.rb
app/lib/user_settings_decorator.rb [new file with mode: 0644]
app/views/settings/preferences/show.html.haml
spec/controllers/settings/preferences_controller_spec.rb
spec/lib/user_settings_decorator_spec.rb [new file with mode: 0644]