-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Artisan call make:controller wrong path #15570
Comments
Use should use double back-slash instead of single. Change
|
@nammaianh No, that doesn't work either... |
Oh, sorry! Didn't see that you are using Windows |
How about using double quote?
|
@nammaianh Same, making the controller under |
I think mr. Otwell wanna do this if the controller start with |
I still think this is an issue because we know where are our controllers @nammaianh if Otwell wanna do this how to explain this |
@nammaianh you can see that wish path is |
#15575 |
Description:
Today I try to create App namespace under controllers.
Type in console
php artisan make:controller App\AppController
and get success message.After I searching the controller I see that
AppController
is actually inApp
namespace in the same place where is Models not inApp\Http\Controllers\App\
.C:\git\app>php artisan make:controller App\Http\Controllers\App\AppController
Controller created successfully.
C:\git\app>php artisan make:controller App\Http\Controllers\App\App\AppController
Controller already exists!
C:\git\app>php artisan make:controller App\Http\Controllers\App\App\App\App\AppController
Controller already exists!
The controllers Are in
App\Http\Controllers\AppController.php
With
namespace App\Http\Controllers\App;
The text was updated successfully, but these errors were encountered: