pingpong-labs / admin

Laravel 5 Admin
https://packagist.org/packages/pingpong/admin
BSD 3-Clause "New" or "Revised" License
432 stars 114 forks source link

bug in the trusty/Traits/TrustyTrait.php method addRole($idOrName) line 30 #71

Open BurnBird opened 8 years ago

BurnBird commented 8 years ago

line 30 should be $role = Role::search($search)->firstOrFail();