1
unietis
7y

Fuckkk.. I'm learning total.js now and lost a significant amount of time wondering were did my flags (an array elements) in the route method have gone missing..

Instead of writing like this:

F.route('/admin_page', view_admin_page, ['authorize', '@admin']);

i had it written like this :

F.route('/admin_page', view_admin_page, ['authorize, @admin']);

Comments
Add Comment