List all paddocks, create new paddock.

All paddocks new paddocks are closed.
This commit is contained in:
2020-04-17 09:08:22 +02:00
parent dcd75c3358
commit cf6d0ab467
7 changed files with 217 additions and 1 deletions

View File

@@ -14,5 +14,8 @@ use Illuminate\Support\Facades\Route;
*/
Route::get('/', function () {
return view('welcome');
return redirect('paddocks');
});
Route::resource('paddocks', 'PaddockController');