cms/app-client/app/controllers/tabs/thematiques.js
author ymh <ymh.work@gmail.com>
Thu, 02 Jun 2016 18:24:19 +0200
changeset 168 17f10b56c079
parent 96 719390899adf
child 176 d1baf7ccecc8
permissions -rw-r--r--
improve document model and propagate changes. This include the change of document fixtures to better reflect what the api is effectively returning

import Ember from 'ember';

export default Ember.Controller.extend({
  actions: {
    updateUrl: function(selection){
      this.transitionToRoute({queryParams: {thematique: selection}});
    }
  }
});