passing: added template content, fixed routes in dev mode