Commit 3ae04385 authored by cygnet's avatar cygnet

Merge branch 'develop' of git://github.com/viralsolani/laravel-adminpanel into develop

parents c6b00bef b5fd5a81
......@@ -107,7 +107,6 @@ class PagesController extends APIController
]);
}
/**
* validateUser Pages Requests.
*
......@@ -116,10 +115,8 @@ class PagesController extends APIController
*
* @return \Illuminate\Http\JsonResponse
*/
public function validatePages(Request $request,$id=0)
public function validatePages(Request $request, $id = 0)
{
$validation = Validator::make($request->all(), [
'title' => 'required|max:191|unique:pages,title,'.$id,
'description' => 'required',
......
......@@ -92,7 +92,7 @@ class PermissionController extends APIController
}
/**
* Delete permission
* Delete permission.
*
* @param Role $role
* @param DeleteRoleRequest $request
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment