mastodon/app/controllers
Matt Jankowski 1ada494bb2 Admin settings controller refactor, add specs, cleanup (#2225)
* Add render_views for admin/settings spec

* Add coverage for admin/settings#update

* Add coverage for admin/settings typecasting open_registrations setting

* Simplify how admin/settings finds the value for updating

* Rely on activerecord to not update a value that hasnt changed

* Add coverage for non-existent setting

* Use a constant for boolean settings
2017-04-20 17:18:09 +02:00
..
admin
…
api
…
auth
…
concerns
…
oauth
…
settings
…
well_known
…
about_controller.rb
…
account_follow_controller.rb
…
account_unfollow_controller.rb
…
accounts_controller.rb
…
api_controller.rb
…
application_controller.rb
…
authorize_follow_controller.rb
…
follower_accounts_controller.rb
…
following_accounts_controller.rb
…
home_controller.rb
…
media_controller.rb
…
remote_follow_controller.rb
…
statuses_controller.rb
…
stream_entries_controller.rb
…
tags_controller.rb
…