cms/app-client/app/controllers/tabs/chrono.js
author nowmad@23.1.168.192.in-addr.arpa
Fri, 18 Dec 2015 15:19:19 +0100
changeset 74 2bd46d0b2c80
parent 54 5b2b161dd4ce
child 189 21b30ee23191
permissions -rw-r--r--
Propagate the current query param to the new route (necessary when the route change comes from outside the app)

import Ember from 'ember';

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