Laravel-Challenge-Route-Model-Binding
Laravel-Challenge-Route-Model-Binding copied to clipboard
1. Missing the route to 'transactions/{transaction}' 2. Inside the TransactionController missing the Transaction model import
task fix
@PovilasKorop Dear sir, Please find the challenge accepted.
Here is a quick Summary of the Fixes: 1. The `Transaction` Model class has to be imported in the `TransactionController` Class for the **Route Model Binding** to identify the correct...
Task 1 : The problem was missing missing namspace for transaction show. `Target class [App\Http\Controllers\Transaction] does not exist.` Task 2 : Fixed by adding global transaction namespace for all resource...