Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
3ae04385
Commit
3ae04385
authored
Mar 13, 2018
by
cygnet
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
git://github.com/viralsolani/laravel-adminpanel
into develop
parents
c6b00bef
b5fd5a81
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
PagesController.php
app/Http/Controllers/Api/V1/PagesController.php
+5
-8
PermissionController.php
app/Http/Controllers/Api/V1/PermissionController.php
+2
-2
No files found.
app/Http/Controllers/Api/V1/PagesController.php
View file @
3ae04385
...
...
@@ -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'
,
...
...
app/Http/Controllers/Api/V1/PermissionController.php
View file @
3ae04385
...
...
@@ -92,7 +92,7 @@ class PermissionController extends APIController
}
/**
* Delete permission
* Delete permission
.
*
* @param Role $role
* @param DeleteRoleRequest $request
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment