This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
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 Instances list in admin (#2095) 2017-04-18 21:09:07 +02:00
pubsubhubbub_controller.rb
reported_statuses_controller.rb
reports_controller.rb Admin reports with accounts (#2092) 2017-04-18 19:36:18 +02:00
resets_controller.rb Add password reset for users from admin accounts area (#1841) 2017-04-15 16:44:59 +02:00
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