cms/app-client/app/controllers/tabs/carto.js
author nowmad@23.1.168.192.in-addr.arpa
Fri, 18 Dec 2015 15:19:19 +0100
changeset 74 2bd46d0b2c80
parent 51 70dff07a76ff
child 198 541e26eb356f
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: {location: selection}});
    }
  }
});