This is code from one of my views, create.blade.php
Error: Action PetsController@store not defined.
I think this has something to do with Laravel 8 different way to call controller methods. The controller is PetsController and it was created to be a CRUD (php artisan make:controller PetsController --resource)
using php artisan route:list it says that i should use "App\Http\Controllers\PetsController@store" in 'action', but isn't there a better way to do this?
@extends('layouts.app')
@section('content')
{!! Form::open([
'method'=>'post', 'action'=>'PetsController@store'
]) !!}
@endsection