cms/app-client/app/controllers/tabs/langues.js
changeset 188 d2cb39155997
parent 51 70dff07a76ff
child 197 7b266ccf6d3d
--- a/cms/app-client/app/controllers/tabs/langues.js	Sat Jun 11 01:07:57 2016 +0200
+++ b/cms/app-client/app/controllers/tabs/langues.js	Sun Jun 12 22:53:25 2016 +0200
@@ -1,9 +1,9 @@
 import Ember from 'ember';
 
 export default Ember.Controller.extend({
-  actions: {
-    updateUrl: function(selection){
-      this.transitionToRoute({queryParams: {langue: selection}});
+	actions: {
+        transitionTo: function(id) {
+            this.transitionToRoute({ queryParams: { 'langue': id } });
+        }   
     }
-  }
 });