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
0d3df30c
Unverified
Commit
0d3df30c
authored
Dec 07, 2017
by
Viral Solani
Committed by
GitHub
Dec 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68 from viralsolani/analysis-8Q4L4P
Apply fixes from StyleCI
parents
afa63fb5
2035fef6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
BlogsController.php
app/Http/Controllers/Backend/Blogs/BlogsController.php
+12
-12
BlogsRepository.php
app/Repositories/Backend/Blogs/BlogsRepository.php
+1
-1
No files found.
app/Http/Controllers/Backend/Blogs/BlogsController.php
View file @
0d3df30c
...
@@ -17,7 +17,7 @@ use App\Repositories\Backend\Blogs\BlogsRepository;
...
@@ -17,7 +17,7 @@ use App\Repositories\Backend\Blogs\BlogsRepository;
class
BlogsController
extends
Controller
class
BlogsController
extends
Controller
{
{
/**
/**
* Blog Status
* Blog Status
.
*/
*/
protected
$status
=
[
protected
$status
=
[
'Published'
=>
'Published'
,
'Published'
=>
'Published'
,
...
@@ -47,7 +47,7 @@ class BlogsController extends Controller
...
@@ -47,7 +47,7 @@ class BlogsController extends Controller
public
function
index
(
ManageBlogsRequest
$request
)
public
function
index
(
ManageBlogsRequest
$request
)
{
{
return
view
(
'backend.blogs.index'
)
->
with
([
return
view
(
'backend.blogs.index'
)
->
with
([
'status'
=>
$this
->
status
'status'
=>
$this
->
status
,
]);
]);
}
}
...
@@ -64,7 +64,7 @@ class BlogsController extends Controller
...
@@ -64,7 +64,7 @@ class BlogsController extends Controller
return
view
(
'backend.blogs.create'
)
->
with
([
return
view
(
'backend.blogs.create'
)
->
with
([
'blogCategories'
=>
$blogCategories
,
'blogCategories'
=>
$blogCategories
,
'blogTags'
=>
$blogTags
,
'blogTags'
=>
$blogTags
,
'status'
=>
$this
->
status
'status'
=>
$this
->
status
,
]);
]);
}
}
...
@@ -102,7 +102,7 @@ class BlogsController extends Controller
...
@@ -102,7 +102,7 @@ class BlogsController extends Controller
'blogTags'
=>
$blogTags
,
'blogTags'
=>
$blogTags
,
'selectedCategories'
=>
$selectedCategories
,
'selectedCategories'
=>
$selectedCategories
,
'selectedtags'
=>
$selectedtags
,
'selectedtags'
=>
$selectedtags
,
'status'
=>
$this
->
status
'status'
=>
$this
->
status
,
]);
]);
}
}
...
...
app/Repositories/Backend/Blogs/BlogsRepository.php
View file @
0d3df30c
...
@@ -94,7 +94,7 @@ class BlogsRepository extends BaseRepository
...
@@ -94,7 +94,7 @@ class BlogsRepository extends BaseRepository
}
}
/**
/**
* Update Blog
* Update Blog
.
*
*
* @param $blogs
* @param $blogs
* @param array $input
* @param array $input
...
...
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