title: link-to action parameters are not working in ember js
body: <p>Hi i am very new to ember js. i pass action parameters(id ) on link-to action in template but i did not get the values in my controller.</p>
  
  <p>My  Template code as follows:</p>
  
  <p>index.html:</p>
  
  <pre><code>             &lt;script type="text/x-handlebars" data-template-name="search"&gt;
  
               {{#each model.results}}
  
               // here i pass id value along with action
  
               {{#link-to 'profile' id action="profileinfo"}}
  
               &lt;/script&gt;
  </code></pre>
  
  <p>app.js:</p>
  
  <pre><code>          App.SearchController = Ember.ObjectController.extend({
  
               id: '',
  
               actions:{
                 profileinfo: function(id){
  
                  // Here i access id value like this
                 console.log(id);
                 var id = this.get('id');})  
  </code></pre>
  
  <p>when i click on the link action goes to Searchcontroller, but i get id value is empty.I follow some solutions in stack overflow but unfortunately i did not get anything. Please provide some solution</p>