You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
8 years ago
..
accounts_controller.rb
base_controller.rb
domain_blocks_controller.rb Simplify render in controllers (#2144) 8 years ago
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) 8 years ago
silences_controller.rb
suspensions_controller.rb