Open Ihabafia opened 9 years ago
Hi, do you have the routes in the alternate directory or in the config directory?
I have a resources rout. But still showing file not found.
On Mon, Jun 29, 2015, 2:30 PM Joseba Juániz notifications@github.com wrote:
Hi, do you have the routes in the alternate directory or in the config directory?
— Reply to this email directly or view it on GitHub https://github.com/Patroklo/codeigniter-static-laravel-routes/issues/9#issuecomment-116622120 .
Hum, thing it's working for me... can you send the route you are using in this case? The "Route::blabla"
Thanks
Route::resources('matches');
I did allot of tries, it worked for me when I did the following:
Route::any('matches', 'matches/index');
so I have to use ::any()
what is the method usually for the CLI is it get, post, etc...
I don't know what kind of call it makes, I'll check it tomorrow. But in my case, I was using an "any", yes.
Maybe you can make a route like Route::cli('xxx', 'xxxx/xxxx');
Just a suggestion.
Thank you,
I'll check it out. Its a good idea.
Hi,
I am trying to access a controller through CLI, but it's giving me an error not found. Please help me to see how can I create a route though CLI or bypass the codeigniter-static-laravel-routes. The command I am using is: php index.php matches
The error I am getting is: ERROR: Not Found The controller/method pair you requested was not found.
Thank you,