rayokota / generator-angular-express-sequelize

Yeoman generator for AngularJS + Express + Sequelize
MIT License
81 stars 21 forks source link

implimenting express param and load function in route template #2

Closed zekenie closed 2 years ago

zekenie commented 10 years ago

I've made a couple of changes to the entity template making it a little more DRY. I took advantage of the express params tool to implement a load function which avoids having to search for single records in find,update, and destroy.