To inject `/tasks` routes into app, you need to set `config.inject_routes`. It would be better to inject automatically