cms/app-client/app/controllers/tabs/chrono.js
author ymh <ymh.work@gmail.com>
Thu, 25 Feb 2016 10:20:01 +0100
changeset 130 fac22d8c2df8
parent 54 5b2b161dd4ce
child 189 21b30ee23191
permissions -rw-r--r--
add subjects to model + simple display on bo + add command to downloads documents to fixtures for test
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
});