changeset 176 | d1baf7ccecc8 |
parent 96 | 719390899adf |
child 198 | 541e26eb356f |
--- a/cms/app-client/app/controllers/tabs/thematiques.js Thu May 19 14:49:42 2016 +0200 +++ b/cms/app-client/app/controllers/tabs/thematiques.js Mon May 30 23:58:34 2016 +0200 @@ -1,9 +1,12 @@ import Ember from 'ember'; export default Ember.Controller.extend({ - actions: { - updateUrl: function(selection){ - this.transitionToRoute({queryParams: {thematique: selection}}); + + actions: { + + transitionTo: function(id){ + this.transitionToRoute({queryParams: {thematique: id}}); + } + } - } });