From 043e0cbd9dba7518a510f279928a3344dd2512b0 Mon Sep 17 00:00:00 2001 From: julienr Date: Tue, 15 Oct 2013 12:38:47 +0200 Subject: [PATCH] [fix] validators permissions --- src/controllers/PermissionController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) {