Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. Route::get( '{uri}', function( URI $uri ) {
  2. // check database, if we find a record we'll need to pass it to the appropriate controller
  3. // we'll have a class that handles this responsiblity
  4.  
  5. // pass if we don't find anything
  6. } )->where('uri', '.*');
  7.  
  8. Route::get( 'other/page', 'OtherController@sayHello' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement