cms/app-client/app/router.js
changeset 414 5c6c526a7fc1
parent 338 4a3899b6a7ed
child 456 3a32d2f57429
--- a/cms/app-client/app/router.js	Thu Nov 10 15:35:27 2016 +0100
+++ b/cms/app-client/app/router.js	Sat Nov 12 17:21:25 2016 +0100
@@ -9,15 +9,16 @@
     player: Ember.inject.service(),
 
     didTransition:function() {
-    	this.get('player').toggleVideoscreen(false);
-    	this.get('player').displayMetadata(this.get('player').get('window'));
+        this.get('player').toggleVideoscreen(false);
+        this.get('player').displayMetadata(this.get('player').get('window'));
 
-    	this._super(...arguments);
+        this._super(...arguments);
     }
 
 });
 
 Router.map(function() {
+    this.route('document', { path: '/doc/:doc_id'});
     this.route('tabs/langues', { path: '/' });
     this.route('tabs/langues', { path: '/langues' });
     this.route('tabs/carto', { path: '/cartographie' });