Reversed the order of path and routeName in app.VERB signature so that routeName is now specified first.
Added res.redirectToRoute middleware.