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 Simplify render in controllers (#2144) 2017-04-19 15:37:42 +02:00
instances_controller.rb
pubsubhubbub_controller.rb
reported_statuses_controller.rb
reports_controller.rb
resets_controller.rb
settings_controller.rb Admin settings controller refactor, add specs, cleanup (#2225) 2017-04-20 17:18:09 +02:00
silences_controller.rb
suspensions_controller.rb