--- a/cms/app-client/app/router.js Thu Aug 25 19:10:41 2016 +0200
+++ b/cms/app-client/app/router.js Fri Aug 26 11:42:10 2016 +0200
@@ -2,12 +2,21 @@
import config from './config/environment';
const Router = Ember.Router.extend({
+
location: config.locationType,
- rootURL: config.rootURL
+ rootURL: config.rootURL,
+
+ player: Ember.inject.service(),
+
+ didTransition:function() {
+ this.get('player').toggleVideoscreen(false);
+ this.get('player').displayMetadata(false);
+ this._super(...arguments);
+ }
});
Router.map(function() {
- this.route('tabs/langues', { path: '/' }); // Default
+ this.route('tabs/langues', { path: '/' });
this.route('tabs/langues', { path: '/langues' });
this.route('tabs/carto', { path: '/cartographie' });
this.route('tabs/thematiques', { path: '/thematiques' });