Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
[fix] validators permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
MrJuliuss committed Oct 15, 2013
1 parent f2e2885 commit 043e0cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/PermissionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down Expand Up @@ -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())
{
Expand Down

0 comments on commit 043e0cb

Please sign in to comment.