cms/app-client/app/controllers/tabs/discours.js
author ymh <ymh.work@gmail.com>
Fri, 12 Feb 2016 22:31:48 +0100
changeset 123 4c97e9da1416
parent 97 32c0f831de45
child 174 b5e6a2aa84cb
permissions -rw-r--r--
Remove use of global variables + remove ember-cli-content-security-policy from package.json to avoid bogus csp violation warnings

import Ember from 'ember';

export default Ember.Controller.extend({
  actions: {
    updateUrl: function(selection){
      this.transitionToRoute({queryParams: {discours: selection}});
    }
  }
});