aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/router.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/router.js')
-rw-r--r--www/js/router.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/router.js b/www/js/router.js
index c259c05..f220422 100644
--- a/www/js/router.js
+++ b/www/js/router.js
@@ -8,6 +8,7 @@
'home': 'home',
'around': 'around',
'search': 'search',
+ 'existing': 'existing',
'photo': 'photo',
'details': 'details',
'submit': 'submit',
@@ -42,6 +43,11 @@
this.changeView(searchView);
},
+ existing: function(){
+ var existingView = new FMS.ExistingView({ model: FMS.currentDraft });
+ this.changeView(existingView);
+ },
+
home: function(){
var homeView = new FMS.HomeView({ model: FMS.currentDraft });
this.changeView(homeView);