title: Redefine Strongloop built in methods for endpoint
body: <p>I know how to create custom remote method like this:</p>
  
  <pre><code>module.exports = function (Dog) {
      Dog.myMethod = function(age, owner, cb);
  
          Dog.find({where: {age: age, owner: owner}}, function(err, result) {
  
            var myResult = new Array();
  
            // transform "result" to "myResult"
            cb(null, myResult);
          });
  
  
      Dog.remoteMethod('myMethod', {
          http: {path: '/list', verb: 'get'},
          accepts: [
             {arg: 'age', type: 'number', http: {source: 'query'}},
             {arg: 'owner', type: 'string', http: {source: 'query'}}
          ],            
          returns: {arg: 'list', type: 'json'}
      });
  
  });
  </code></pre>
  
  <p><strong>With this URL:</strong></p>
  
  <p><em>localhost:3000/api/dogs/myMethod?age=3&amp;owner=joe</em></p>
  
  <p><strong>But i need to call it like this:</strong></p>
  
  <p><em>localhost:3000/api/dogs?age=3&amp;owner=joe</em></p>
  
  <p>I found in Strongloop API documentation this article (in section "Change the implementation of built-in methods", subsection "Via your model's script"): <a href="https://docs.strongloop.com/display/public/LB/Customizing+models" rel="nofollow noreferrer">https://docs.strongloop.com/display/public/LB/Customizing+models</a></p>
  
  <p>But it doesnt show how to handle custom parameters.</p>
  
  <p><a href="https://stackoverflow.com/questions/38848987/strongloop-overriding-put-built-in-method">StrongLoop overriding PUT built in method</a> didn't give me the answer.</p>
  
  <p>Thank you for any help!</p>