1
0
Fork 0
forked from specter/mastodon
mastodon/app/controllers/admin
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
..
accounts_controller.rb
base_controller.rb
domain_blocks_controller.rb
instances_controller.rb
pubsubhubbub_controller.rb
reported_statuses_controller.rb
reports_controller.rb
resets_controller.rb
settings_controller.rb
silences_controller.rb
suspensions_controller.rb