cms/app-client/app/controllers/tabs/discours.js
author Chloe Laisne <chloe.laisne@gmail.com>
Fri, 10 Jun 2016 16:46:41 +0200
changeset 184 558a3522343c
parent 174 b5e6a2aa84cb
child 198 541e26eb356f
permissions -rw-r--r--
Set discours querystring from controller
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
97
32c0f831de45 add controller for discours
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     1
import Ember from 'ember';
32c0f831de45 add controller for discours
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     2
32c0f831de45 add controller for discours
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     3
export default Ember.Controller.extend({
184
558a3522343c Set discours querystring from controller
Chloe Laisne <chloe.laisne@gmail.com>
parents: 174
diff changeset
     4
558a3522343c Set discours querystring from controller
Chloe Laisne <chloe.laisne@gmail.com>
parents: 174
diff changeset
     5
    actions: {
558a3522343c Set discours querystring from controller
Chloe Laisne <chloe.laisne@gmail.com>
parents: 174
diff changeset
     6
        transitionTo: function(id) {
558a3522343c Set discours querystring from controller
Chloe Laisne <chloe.laisne@gmail.com>
parents: 174
diff changeset
     7
            this.transitionToRoute({ queryParams: { 'discours': id } });
558a3522343c Set discours querystring from controller
Chloe Laisne <chloe.laisne@gmail.com>
parents: 174
diff changeset
     8
        }   
558a3522343c Set discours querystring from controller
Chloe Laisne <chloe.laisne@gmail.com>
parents: 174
diff changeset
     9
    }
558a3522343c Set discours querystring from controller
Chloe Laisne <chloe.laisne@gmail.com>
parents: 174
diff changeset
    10
    
97
32c0f831de45 add controller for discours
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    11
});