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.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/router.js b/www/js/router.js
index 05b5d33..7ee585a 100644
--- a/www/js/router.js
+++ b/www/js/router.js
@@ -21,22 +21,22 @@
},
around: function(){
- var aroundView = new FMS.AroundView();
+ var aroundView = new FMS.AroundView({ model: FMS.currentReport });
this.changeView(aroundView);
},
home: function(){
- var homeView = new FMS.HomeView();
+ var homeView = new FMS.HomeView({ model: FMS.currentReport });
this.changeView(homeView);
},
photo: function(){
- var photoView = new FMS.PhotoView();
+ var photoView = new FMS.PhotoView({ model: FMS.currentReport });
this.changeView(photoView);
},
details: function(){
- var detailsView = new FMS.DetailsView();
+ var detailsView = new FMS.DetailsView({ model: FMS.currentReport });
this.changeView(detailsView);
},