Skip to content
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.php中的中间件验证顺序可能不正确 #11

Open
yygxlin opened this issue Feb 21, 2017 · 1 comment
Open

routes.php中的中间件验证顺序可能不正确 #11

yygxlin opened this issue Feb 21, 2017 · 1 comment

Comments

@yygxlin
Copy link

yygxlin commented Feb 21, 2017

第27行$router->group(['namespace' => 'Admin', 'middleware' => ['auth','authAdmin','menu']], function () {
,authAdmin是否应与menu互换,否则当用户没有权限时返回的403页面中没有menu。会报错

@yygxlin
Copy link
Author

yygxlin commented Feb 21, 2017

ErrorException in 663b423b3c850688667ebcfd842ea67d464ab135.php line 37:
Undefined variable: comData (View: C:\Users\nass\Desktop\laravel5.2-Admin\resources\views\admin\layouts\mainSidebar.blade.php) (View: C:\Users\nass\Desktop\laravel5.2-Admin\resources\views\admin\layouts\mainSidebar.blade.php) (View: C:\Users\nass\Desktop\laravel5.2-Admin\resources\views\admin\layouts\mainSidebar.blade.php)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant