-
Notifications
You must be signed in to change notification settings - Fork 510
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
Routes not working #47
Comments
Hello @intositeme, Could you give us more info please? I can reproduce the problem. Wich version of Laravel are you using? |
same here the routes from vendor override the routes from the app itself |
Ok now I understand! Two thinks to take into account:
public function map(Router $router)
{
$this->app->booted(function () use ($router) {
$router->group(['namespace' => $this->namespace], function ($router) {
require app_path('Http/routes.php');
});
});
} |
i just completly removed the AdminLTE Service provider, as i really don't see any need for it :) but the posted fix works too |
Yes once package publish files you can remove AdminLTE service provider so it's an option ;-) |
Same issue, but having a hard time debugging when the answer is here. I knew that it overrided the routing stuff, but its really helpful if you put a 'warning message' in the readme file. thanks |
Yeah, I also confused with these issues, I think it's worth to notify in the main page. |
Added to README. |
I am facing this issue as well. Changing the order of the classes in app.php and changing the code in RouteServiceProvider did not fix it. And oddly enough if I remove the service provider as @schealex stated, it fails to load the home. The only way I could fix it was to move all routes from the vendor routes file to the main one. Seems to be working for me so far. |
not a solution as anyone that tries to use ur project is goiung to be downloading the vendor with prefilled routes. |
in my own routes.php file i have
But it keeps going to the Pratt Landing Page
The text was updated successfully, but these errors were encountered: