cms/app-client/app/controllers/tabs/chrono.js
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 20 Jun 2016 17:04:59 +0200
changeset 195 9d083636bd99
parent 190 226ae8f2e8e9
child 197 7b266ccf6d3d
permissions -rw-r--r--
Layout and style of the /chronologie endpoint
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({
189
21b30ee23191 /langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents: 54
diff changeset
     4
190
226ae8f2e8e9 JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents: 189
diff changeset
     5
    actions: {
226ae8f2e8e9 JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents: 189
diff changeset
     6
        updateUrl: function(selection){
226ae8f2e8e9 JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents: 189
diff changeset
     7
            this.transitionToRoute({queryParams: {'date': selection}});
226ae8f2e8e9 JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents: 189
diff changeset
     8
        }
54
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
     9
    }
5b2b161dd4ce bind chono visu with query parameters
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
    10
});