strongloop/strong-remoting — pull request #24 by bajtos (2013-11-25 13:39:15+00:00)
Title: Modify RestAdapter to own whole URL space

Add urlNotFound middleware converting all unhandled requests into a 404 error. This way to the express app created by RestAdapter.createHandler always returns consistent error responses and also prevents other parts of the application from creating a URL clash.

See strongloop/loopback/#77 for more details.

/to: @ritch Please review.