You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys,
What I mean here is the integration of the route into the router name. It will help the code is in sync and easy to maintain.
Example: I just declare
router.get('/user', function(), {name: "user"})
At the template engine to use one helper, such as:
url('user')
// print: '/user'
Then if you want to modify simple path we just fix one place was finished.
Thanks
--ntd--
The text was updated successfully, but these errors were encountered:
Hi guys,
What I mean here is the integration of the route into the router name. It will help the code is in sync and easy to maintain.
Example: I just declare
At the template engine to use one helper, such as:
Then if you want to modify simple path we just fix one place was finished.
Thanks
--ntd--
The text was updated successfully, but these errors were encountered: