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 Admin accounts controller cleanup (#1664) 2017-04-13 13:04:23 +02:00
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 Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
reported_statuses_controller.rb Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
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 Admin accounts controller cleanup (#1664) 2017-04-13 13:04:23 +02:00
suspensions_controller.rb Admin accounts controller cleanup (#1664) 2017-04-13 13:04:23 +02:00