cms/app-client/app/controllers/tabs/chrono.js
author nowmad@nowmads-macbook-pro.local
Wed, 20 Jan 2016 23:05:52 +0100
changeset 91 acfeddc7821d
parent 54 5b2b161dd4ce
child 189 21b30ee23191
permissions -rw-r--r--
rename "sound" to "document"
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
54
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     1
import Ember from 'ember';
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     2
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     3
export default Ember.Controller.extend({
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     4
  actions: {
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     5
    updateUrl: function(selection){
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     6
      this.transitionToRoute({queryParams: {date: selection}});
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     7
    }
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     8
  }
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     9
});