cms/app-client/app/controllers/tabs/thematiques.js
author ymh <ymh.work@gmail.com>
Tue, 19 Jan 2016 19:18:34 +0100
changeset 109 d22ed5792f8e
parent 96 719390899adf
child 176 d1baf7ccecc8
permissions -rw-r--r--
Correct transaction management. cf. bug https://openrdf.atlassian.net/browse/SES-2295 and tomcat default management of PUT request with form data (application/x-www-form-urlencoded encoded)
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({
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
     4
  actions: {
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
     5
    updateUrl: function(selection){
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
     6
      this.transitionToRoute({queryParams: {thematique: selection}});
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
     7
    }
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
     8
  }
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
     9
});