Add signup route

This commit is contained in:
2019-07-18 19:31:03 +02:00
parent 6a176b5904
commit 0a71d7ad91
4 changed files with 17 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@ Router.map(function() {
this.route('new');
this.route('edit', { path: ':id/edit' });
});
this.route('signup');
});
export default Router;
+4
View File
@@ -0,0 +1,4 @@
import Route from '@ember/routing/route';
export default Route.extend({
});
+1
View File
@@ -0,0 +1 @@
{{outlet}}
+11
View File
@@ -0,0 +1,11 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Route | signup', function(hooks) {
setupTest(hooks);
test('it exists', function(assert) {
let route = this.owner.lookup('route:signup');
assert.ok(route);
});
});