Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

Route group controller #285

Open
muharremozdemir opened this issue Feb 25, 2022 · 0 comments
Open

Route group controller #285

muharremozdemir opened this issue Feb 25, 2022 · 0 comments

Comments

@muharremozdemir
Copy link

use App\Http\Controllers\OrderController;

Route::controller(OrderController::class)->group(function () {
Route::get('/orders/{id}', 'show');
Route::post('/orders', 'store');
});

When show is clicked, it does not go to the relevant method.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant