Skip to content

Commit

Permalink
Fixed role creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ConsoleTVs committed Feb 13, 2016
1 parent bc22113 commit 3baf393
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/Http/Controllers/Admin/RolesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public function tableSettings($role = null)
'masked' => [],
'validator' => [
'name' => 'required|unique:roles',
'color' => 'required|unique:roles',
],
],
'edit' => [
Expand All @@ -74,7 +73,6 @@ public function tableSettings($role = null)
'masked' => [],
'validator' => [
'name' => 'sometimes|required|unique:roles,name,'.$role->id,
'color' => 'sometimes|required|unique:roles,color,'.$role->id,
],
],
];
Expand Down

0 comments on commit 3baf393

Please sign in to comment.