cms/app-client/app/controllers/tabs/thematiques.js
author Chloe Laisne <chloe.laisne@gmail.com>
Wed, 22 Jun 2016 22:13:46 +0200
changeset 197 7b266ccf6d3d
parent 176 d1baf7ccecc8
child 198 541e26eb356f
permissions -rw-r--r--
Setup filter service
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
96
719390899adf add action helper on "thematique" click or input enter to set the "thematique" parameter
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     1
import Ember from 'ember';
719390899adf add action helper on "thematique" click or input enter to set the "thematique" parameter
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     2
719390899adf add action helper on "thematique" click or input enter to set the "thematique" parameter
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     3
export default Ember.Controller.extend({
176
d1baf7ccecc8 Add `thematiques` components
Chloe Laisne <chloe.laisne@gmail.com>
parents: 96
diff changeset
     4
d1baf7ccecc8 Add `thematiques` components
Chloe Laisne <chloe.laisne@gmail.com>
parents: 96
diff changeset
     5
    actions: {
d1baf7ccecc8 Add `thematiques` components
Chloe Laisne <chloe.laisne@gmail.com>
parents: 96
diff changeset
     6
d1baf7ccecc8 Add `thematiques` components
Chloe Laisne <chloe.laisne@gmail.com>
parents: 96
diff changeset
     7
        transitionTo: function(id){
d1baf7ccecc8 Add `thematiques` components
Chloe Laisne <chloe.laisne@gmail.com>
parents: 96
diff changeset
     8
            this.transitionToRoute({queryParams: {thematique: id}});
d1baf7ccecc8 Add `thematiques` components
Chloe Laisne <chloe.laisne@gmail.com>
parents: 96
diff changeset
     9
        }
d1baf7ccecc8 Add `thematiques` components
Chloe Laisne <chloe.laisne@gmail.com>
parents: 96
diff changeset
    10
96
719390899adf add action helper on "thematique" click or input enter to set the "thematique" parameter
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    11
    }
719390899adf add action helper on "thematique" click or input enter to set the "thematique" parameter
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    12
});