Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Route::get( '{uri}', function( URI $uri ) {
- // check database, if we find a record we'll need to pass it to the appropriate controller
- // we'll have a class that handles this responsiblity
- // pass if we don't find anything
- } )->where('uri', '.*');
- Route::get( 'other/page', 'OtherController@sayHello' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement