Open MatheusNaldi opened 8 years ago
Laroute generate index in laravel route->controller should be empty, but it's returning "/index".
e.g:
$route->controller('admin', 'AdminController', [ 'getIndex' => 'admin.index', 'getPayment' => 'admin.payment' ]);
The uri in getIndex is returning "admin/index", but the correct should be only "admin" if I don't pass any parameters in controller.
Laroute generate index in laravel route->controller should be empty, but it's returning "/index".
e.g:
The uri in getIndex is returning "admin/index", but the correct should be only "admin" if I don't pass any parameters in controller.