Skip to content

Instantly share code, notes, and snippets.

@robbiespeed
Created July 13, 2016 21:10
Show Gist options
  • Save robbiespeed/fbc4127f2cd49dae4c49c82f579ac666 to your computer and use it in GitHub Desktop.
Save robbiespeed/fbc4127f2cd49dae4c49c82f579ac666 to your computer and use it in GitHub Desktop.
Test query param
import Ember from 'ember';
export default Ember.Controller.extend({
queryParams: [{
testParam: 'test',
}],
appName: 'Ember Twiddle',
testParam: 'womp'
});
<h1>Welcome to {{appName}}</h1>
<br>
{{testParam}}
<br>
{{outlet}}
<br>
<br>
{
"version": "0.10.1",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "2.6.0",
"ember-data": "2.6.1",
"ember-template-compiler": "2.6.0"
},
"addons": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment