summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-06-09 18:53:48 +0300
committerYuval Adam <yuval@y3xz.com>2015-06-09 18:53:48 +0300
commit58b4bc50d64ea8b664a2f023eb5889c640ec9a0f (patch)
tree0da99fe5743fa3ddae1a921b8425caedcd860cc3 /lib
parentd0d37fb74d1509934dea97eff3ed2f3c87098286 (diff)
Login, logout and simple routing
Diffstat (limited to 'lib')
-rw-r--r--lib/router.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/router.js b/lib/router.js
new file mode 100644
index 0000000..30c3814
--- /dev/null
+++ b/lib/router.js
@@ -0,0 +1,7 @@
+Router.configure({
+ layoutTemplate: 'layout'
+});
+
+Router.route('/', {name: 'login'});
+Router.route('/one', {name: 'one'});
+Router.route('/two', {name: 'two'});