snipe-it/routes
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
..
web Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
api.php Implemented method to get info on the current user of the API (#5722) 2018-07-02 20:35:10 -07:00
console.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
web.php Improved files display 2018-05-02 14:13:06 -07:00