Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated URLs should follow the Pretty URL convention #11

Closed
JunaidQadirB opened this issue Apr 20, 2022 · 0 comments
Closed

Generated URLs should follow the Pretty URL convention #11

JunaidQadirB opened this issue Apr 20, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@JunaidQadirB
Copy link
Owner

JunaidQadirB commented Apr 20, 2022

After running php artisan cray Product, the route is added to the routes/web.php like this:

Route::resource('Product', App\Http\ProductController::class);

instead of:

Route::resource('products', App\Http\ProductController::class);

For Multi-Word Models,

Route::resource('ProgramRequirement', App\Http\ProgramRequirementController::class);

instead of:

Route::resource('program-requirements', App\Http\ProgramRequirementController::class);
@JunaidQadirB JunaidQadirB added the bug Something isn't working label Apr 20, 2022
@JunaidQadirB JunaidQadirB self-assigned this Apr 20, 2022
@JunaidQadirB JunaidQadirB changed the title Generated URLs should be lowercase Generated URLs should be pretty URL convention Apr 21, 2022
@JunaidQadirB JunaidQadirB changed the title Generated URLs should be pretty URL convention Generated URLs should follow the Pretty URL convention Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant