psychobunny
|
641ec3ef82
|
moved duplicate upload validation code into its own fn
|
11 years ago |
psychobunny
|
0bbff06cfa
|
use middleware.authenticate instead of checking in each fn
|
11 years ago |
psychobunny
|
01cda60704
|
moved admin upload functions into controllers/admin; re-organized routes/admin to look like routes/index; removed unused deps
|
11 years ago |
psychobunny
|
a99be8e7be
|
got rid of all the res.locals.isAPI checks in all controller methods. now 1000% cleaner :shipit:
|
11 years ago |
psychobunny
|
48df0cf889
|
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
src/routes/admin.js
|
11 years ago |
psychobunny
|
d3aead7c13
|
changing renderHeader function signature to req, res, next
|
11 years ago |
psychobunny
|
7ef6f9bbf5
|
buckled down and refactored pretty much all of admin routes x_x
|
11 years ago |