diff --git a/src/controllers/PermissionController.php b/src/controllers/PermissionController.php index ee0243e..076a9ab 100644 --- a/src/controllers/PermissionController.php +++ b/src/controllers/PermissionController.php @@ -70,7 +70,7 @@ public function postCreate() { $validator = Validator::make( Input::all(), - Config::get('syntara::rules.permissions.create') + Config::get('syntara::validator.permissions.create') ); if($validator->fails()) @@ -135,7 +135,7 @@ public function putShow($permissionId) { $validator = Validator::make( Input::all(), - Config::get('syntara::rules.permissions.create') + Config::get('syntara::validator.permissions.create') ); if($validator->fails()) {