Given the template
<script type="text/x-handlebars">
{{#link-to 'test' (query-params test=0)}}link{{/link-to}}
</script>
and the script
App = Ember.Application.create();
App.Router.map(function() {
this.resource('test');
});
App.TestController = Ember.ArrayController.extend({
queryParams: ['test'],
test: null
});
The query params are not showing up in the url when I click, shown here http://emberjs.jsbin.com/qawoza/1/edit. What am I doing wrong?