Laravel-Challenge-Route-Model-Binding
Laravel-Challenge-Route-Model-Binding copied to clipboard
Fixed
Something that did not work form me:
-
Had to run this composer install --ignore-platform-reqs instead of just composer install because of this errro: "Problem 1
- laravel/horizon is locked to version v5.7.9 and an update of this package was not requested.
- laravel/horizon v5.7.9 requires ext-pcntl * -> it is missing from your system. Install or enable PHP's pcntl extension. "
-
When i wanted to add not found page returning just view('transactions.notfound'); returned an error: "Error Call to a member function setCookie() on null".
So this fixed: response()-> view('transactions.notfound');