diff --git a/client/app/router.js b/client/app/router.js index 9d563e78..9c76f575 100644 --- a/client/app/router.js +++ b/client/app/router.js @@ -10,7 +10,13 @@ export default class Router extends EmberRouterScroll { // TODO: wrap in an authenticated route Router.map(function() { // eslint-disable-line - this.route('projects'); + this.route('projects', function() { + }); + +if (config.featureFlagSelfService) { + this.route('projects/new', {path: 'projects/new'} ); +} + this.route('login'); this.route('logout'); diff --git a/client/app/routes/projects/new.js b/client/app/routes/projects/new.js new file mode 100644 index 00000000..ecdd31f9 --- /dev/null +++ b/client/app/routes/projects/new.js @@ -0,0 +1,4 @@ +import Route from '@ember/routing/route'; + +export default class ProjectsNewRoute extends Route { +} diff --git a/client/app/templates/projects/new.hbs b/client/app/templates/projects/new.hbs new file mode 100644 index 00000000..400fa51a --- /dev/null +++ b/client/app/templates/projects/new.hbs @@ -0,0 +1,2 @@ +