-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
should laravel controllers/views sub-dir be singular or plural #52
Comments
I use both, depending on the context. For example, |
URI example.com/settings/profile should use is there a best practice or standard? |
The best practice is here: It depends on the context. Your examples from Laravel UI describe different things. The controller is singular because it handles the resetting of a password, while the view folder |
Laravel UI build-in:
should controllers/views sub-dir be singular or plural?
for example: https://github.com/settings/profile
Controllers/Settings/ProfileController.php
orControllers/Setting/
views/settings/profile.blade.php
orviews/setting/
settings.profile
orsetting.profile
The text was updated successfully, but these errors were encountered: