Skip to content

Instantly share code, notes, and snippets.

@ffmit
Created September 30, 2019 15:33
Show Gist options
  • Save ffmit/09e21315e2660c4b592e8e967f933c70 to your computer and use it in GitHub Desktop.
Save ffmit/09e21315e2660c4b592e8e967f933c70 to your computer and use it in GitHub Desktop.
Laravel Routes
// Named route for "About us" page which is placed in "/resources/views/other" folder
Route::get('/about', ['as' => 'about', function () {
return view('other.about');
}]);
// Resourceful route
Route::resource('entries', 'EntryController');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment