Commit Graph

4 Commits (c7de92e0df93a6eb6a0b07c8891a7189f881141b)

Author SHA1 Message Date
Akihiko Odaki 34157d118c Cover Admin::ReportsController more ()
Matt Jankowski a39e719b39 Add render_views to admin/reports controller spec ()
Matt Jankowski 8b74aa4217 Admin reports controller improvements ()
* Simplify admin/reports controller filtering for index

* Rename parameter to resolved

* Fix issue where reports view could not access filter_link_to

* Add coverage for admin/reports controller

* DRY up resolution of related reports for target account

* Clean up admin/reports routes

* Add Report#statuses method

* DRY up current account action taken params

* Rubocop styles
Matt Jankowski dbe9f33fdc Admin base controller ()
* Add Admin::BaseController to wrap admin area

Extracts the setting of the `admin` layout and verifying that users are admins
to a common base class for the admin/ controllers.

* Add basic coverage for admin/reports and admin/settings controllers