title: Ember JS passing a parameter with insert-newline using TextField
body: <p>I have an input that I would like to fire an action when the user presses enter. I have been using <code>insert-newline="actionName"</code> to do this, however I need to pass a parameter to that action and everything I tried to do fails.</p>
  
  <p>In my template I have tried the following lines:</p>
  
  <pre><code>{{focus-input value=keywords placeholder="Search Term" insert-newline="search searchTerm"}}
  
  {{focus-input value=keywords placeholder="Search Term" insert-newline="search, searchTerm"}}
  
  {{focus-input value=keywords placeholder="Search Term" insert-newline="{search, searchTerm}"}}
  
  {{focus-input value=keywords placeholder="Search Term" insert-newline="{search searchTerm}"}}
  
  {{focus-input value=keywords placeholder="Search Term" insert-newline="search(searchTerm)"}}
  </code></pre>
  
  <p>In my controller I have the action defined:</p>
  
  <pre><code>search: function (searchType) {
          var search = this;
  
          if (searchType != "all") {
              if (search.get('keywords') != "") {
                  search.send('close');
                  search.transitionToRoute('/search/' + searchType + "-" + search.get('keywords').underscore());
              } else {
                  search.send('close');
              }
          } else {
              search.transitionToRoute('/');
          }
      }
  </code></pre>
  
  <p>and the following component:</p>
  
  <pre><code>Books.FocusInputComponent = Ember.TextField.extend({
     becomeFocused: function () {
          var becomeFocused = this;
  
          becomeFocused.$().focus();
      }.on('didInsertElement')
  });
  </code></pre>
  
  <p>I've looked around for an answer for this, but I can't find anything in regard to passing a parameter to an action using that inline insert-newline method. </p>