Friday 29 September 2017

Help with swig and passing variable into file then calling it

I have read through the swig documentation to figure out how to use it, so far no luck. I am trying to take this:// dashboard test app.get('/dashboard/test', setRender('dashboard/test'), setRedirect({auth:'/'}), isAuthenticated, dashboard.getDefault); Then input assets tracked. I am not sure the best way to do this with swig. Hopefully that is even close to right. I need to know how to put into my route handler the data then call it back in my template file.

Submitted September 29, 2017 at 07:02PM by business_for_life

No comments:

Post a Comment