snipe-it/routes/web
Daniel Meltzer 638a7b2d91 Assetcontroller cleanup (#5858)
* Extract method/cleanup

* Remove apiStore method that is unusued since api controllers.

* Use proper model exception

* Remove old user importer.  This is now supported by the general importer framework.

* Refactor AssetsController methods.

This is a giant diff without many functional changes, mostly cosmetic.
I've pulled a number of methods out of assetscontroller, preferring
instead to create some more targetted controllers for related actions.
I think this cleans up the file some, and suggests some places for
future targetted improvement.

Fix weird missing things.

* Fix Unit test failing after date changes.

* Pass valid string to be translated.

* Some method cleanup for codacy.

* Extract trait for common checkout uses and codacy fixes.
2018-07-16 17:44:03 -07:00
..
accessories.php Fixed routes that didn’t have auth requirement 2017-03-11 05:16:56 -08:00
components.php Removes the unused bulk operations for components (#5840) 2018-07-16 14:11:38 -07:00
consumables.php Fixed routes that didn’t have auth requirement 2017-03-11 05:16:56 -08:00
fields.php Fixed routes that didn’t have auth requirement 2017-03-11 05:16:56 -08:00
hardware.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
licenses.php Improved files display 2018-05-02 14:13:06 -07:00
models.php Fixed #3416 - bulk delete asset models 2017-12-12 09:10:05 -08:00
users.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00