Error 404 fixed on sumitting witout mandtory field

This commit is contained in:
vishalkumar183 2022-08-02 18:44:16 +05:30
parent 5cb5ef249b
commit 96b40a5edd

View file

@ -12,6 +12,7 @@ use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Session;
use App\Http\Requests\AssetCheckoutRequest;
class BulkAssetsController extends Controller
{
@ -239,7 +240,7 @@ class BulkAssetsController extends Controller
* Process Multiple Checkout Request
* @return View
*/
public function storeCheckout(Request $request)
public function storeCheckout(AssetCheckoutRequest $request)
{
$this->authorize('checkout', Asset::class);