Nanigans/laravel-js-routes — pull request #1 by tdukart (2014-10-28 16:22:15+00:00)
Title: Throw error on non-existent routes

Previously, when .route() was called with an invalid route, it simply returned nothing, which was eventually interpreted as the root of the domain, causing the homepage to be loaded. Since calling a non-existent route is going to be a bug, it should throw an exception.