阅读背景:

根据用户,角色和方法渲染菜单

来源:互联网 

I have a issue with rendering a menu that uses roles and users. Im using Laravel 5.2 (just for info and maybe a easy solution :) ) What im trying to achieve is to get the current user, with the roles which has actions. The problem is: 2 different roles can contain the same method and i dont want to get them twice but just one time. How can i achieve this easily?I have a issue with rendering a menu that uses




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: