snipe-it/app
Daniel Meltzer 61543f3a04 Add presenters for models. (#3098)
* Add presenters for models.  Move bootstrap table JSON generation to these presenters, which cleans up controllers a lot.  Move view specific modifications from the models to the presenters as well.

* Fix some issues found by travis and codacy

* Fix a few more issues found while testing.

* Attempt another acceptance test fix

* Try something else

* Maybe..
2016-12-23 17:52:00 -08:00
..
Console Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Events
Exceptions
Helpers Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Http Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Jobs
Listeners
Models Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Policies Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
Presenters Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Providers Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00