How to Get Role's Permissions via relations? #1872
-
Hi, when I call this, I get empty result from role.
and this is the result of running controller.
Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Maybe because you are removing id in roles, and that's why laravel can't build the relationship |
Beta Was this translation helpful? Give feedback.
Maybe because you are removing id in roles, and that's why laravel can't build the relationship