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
eb0b0f0b
Unverified
Commit
eb0b0f0b
authored
Dec 08, 2017
by
Viral Solani
Committed by
GitHub
Dec 08, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #71 from viralsolani/analysis-q5g71B
Apply fixes from StyleCI
parents
1a5072e4
2fb416e8
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
48 additions
and
47 deletions
+48
-47
BlogCategoriesController.php
...llers/Backend/BlogCategories/BlogCategoriesController.php
+3
-3
BlogTagsController.php
app/Http/Controllers/Backend/BlogTags/BlogTagsController.php
+3
-3
BlogsController.php
app/Http/Controllers/Backend/Blogs/BlogsController.php
+4
-4
BlogsTableController.php
app/Http/Controllers/Backend/Blogs/BlogsTableController.php
+0
-1
FaqStatusController.php
app/Http/Controllers/Backend/Faqs/FaqStatusController.php
+5
-6
FaqsController.php
app/Http/Controllers/Backend/Faqs/FaqsController.php
+8
-5
BlogTagAttribute.php
app/Models/BlogTags/Traits/Attribute/BlogTagAttribute.php
+1
-1
Blog.php
app/Models/Blogs/Blog.php
+2
-2
BlogCategoriesRepository.php
...ories/Backend/BlogCategories/BlogCategoriesRepository.php
+1
-1
BlogTagsRepository.php
app/Repositories/Backend/BlogTags/BlogTagsRepository.php
+1
-1
BlogsRepository.php
app/Repositories/Backend/Blogs/BlogsRepository.php
+12
-12
FaqsRepository.php
app/Repositories/Backend/Faqs/FaqsRepository.php
+2
-2
backend.php
config/backend.php
+1
-1
module.php
config/module.php
+5
-5
No files found.
app/Http/Controllers/Backend/BlogCategories/BlogCategoriesController.php
View file @
eb0b0f0b
app/Http/Controllers/Backend/BlogTags/BlogTagsController.php
View file @
eb0b0f0b
app/Http/Controllers/Backend/Blogs/BlogsController.php
View file @
eb0b0f0b
app/Http/Controllers/Backend/Blogs/BlogsTableController.php
View file @
eb0b0f0b
...
@@ -5,7 +5,6 @@ namespace App\Http\Controllers\Backend\Blogs;
...
@@ -5,7 +5,6 @@ namespace App\Http\Controllers\Backend\Blogs;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Http\Requests\Backend\Blogs\ManageBlogsRequest
;
use
App\Http\Requests\Backend\Blogs\ManageBlogsRequest
;
use
App\Repositories\Backend\Blogs\BlogsRepository
;
use
App\Repositories\Backend\Blogs\BlogsRepository
;
use
Carbon\Carbon
;
use
Yajra\DataTables\Facades\DataTables
;
use
Yajra\DataTables\Facades\DataTables
;
/**
/**
...
...
app/Http/Controllers/Backend/Faqs/FaqStatusController.php
View file @
eb0b0f0b
...
@@ -2,11 +2,10 @@
...
@@ -2,11 +2,10 @@
namespace
App\Http\Controllers\Backend\Faqs
;
namespace
App\Http\Controllers\Backend\Faqs
;
use
App\Models\Faqs\Faq
;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Repositories\Backend\Faqs\FaqsRepository
;
use
App\Http\Requests\Backend\Faqs\EditFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\EditFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\ManageFaqsRequest
;
use
App\Models\Faqs\Faq
;
use
App\Repositories\Backend\Faqs\FaqsRepository
;
class
FaqStatusController
extends
Controller
class
FaqStatusController
extends
Controller
{
{
...
...
app/Http/Controllers/Backend/Faqs/FaqsController.php
View file @
eb0b0f0b
...
@@ -26,6 +26,7 @@ class FaqsController extends Controller
...
@@ -26,6 +26,7 @@ class FaqsController extends Controller
/**
/**
* Display a listing of the resource.
* Display a listing of the resource.
*
* @param \App\Http\Requests\Backend\Faqs\ManageFaqsRequest $request
* @param \App\Http\Requests\Backend\Faqs\ManageFaqsRequest $request
*
*
* @return \Illuminate\Http\Response
* @return \Illuminate\Http\Response
...
@@ -37,6 +38,7 @@ class FaqsController extends Controller
...
@@ -37,6 +38,7 @@ class FaqsController extends Controller
/**
/**
* Show the form for creating a new resource.
* Show the form for creating a new resource.
*
* @param \App\Http\Requests\Backend\Faqs\CreateFaqsRequest $request
* @param \App\Http\Requests\Backend\Faqs\CreateFaqsRequest $request
*
*
* @return \Illuminate\Http\Response
* @return \Illuminate\Http\Response
...
@@ -48,6 +50,7 @@ class FaqsController extends Controller
...
@@ -48,6 +50,7 @@ class FaqsController extends Controller
/**
/**
* Store a newly created resource in storage.
* Store a newly created resource in storage.
*
* @param \App\Http\Requests\Backend\Faqs\StoreFaqsRequest $request
* @param \App\Http\Requests\Backend\Faqs\StoreFaqsRequest $request
*
*
* @return \Illuminate\Http\Response
* @return \Illuminate\Http\Response
...
...
app/Models/BlogTags/Traits/Attribute/BlogTagAttribute.php
View file @
eb0b0f0b
app/Models/Blogs/Blog.php
View file @
eb0b0f0b
...
@@ -28,13 +28,13 @@ class Blog extends BaseModel
...
@@ -28,13 +28,13 @@ class Blog extends BaseModel
'meta_description'
,
'meta_description'
,
'status'
,
'status'
,
'featured_image'
,
'featured_image'
,
'created_by'
'created_by'
,
];
];
protected
$dates
=
[
protected
$dates
=
[
'publish_datetime'
,
'publish_datetime'
,
'created_at'
,
'created_at'
,
'updated_at'
'updated_at'
,
];
];
/**
/**
...
...
app/Repositories/Backend/BlogCategories/BlogCategoriesRepository.php
View file @
eb0b0f0b
app/Repositories/Backend/BlogTags/BlogTagsRepository.php
View file @
eb0b0f0b
app/Repositories/Backend/Blogs/BlogsRepository.php
View file @
eb0b0f0b
...
@@ -2,19 +2,19 @@
...
@@ -2,19 +2,19 @@
namespace
App\Repositories\Backend\Blogs
;
namespace
App\Repositories\Backend\Blogs
;
use
DB
;
use
Carbon\Carbon
;
use
App\Models\Blogs\Blog
;
use
App\Models\BlogTags\BlogTag
;
use
App\Http\Utilities\FileUploads
;
use
App\Exceptions\GeneralException
;
use
App\Repositories\BaseRepository
;
use
App\Models\BlogMapTags\BlogMapTag
;
use
App\Events\Backend\Blogs\BlogUpdated
;
use
App\Events\Backend\Blogs\BlogCreated
;
use
App\Events\Backend\Blogs\BlogCreated
;
use
App\Events\Backend\Blogs\BlogDeleted
;
use
App\Events\Backend\Blogs\BlogDeleted
;
use
App\Events\Backend\Blogs\BlogUpdated
;
use
App\Exceptions\GeneralException
;
use
App\Http\Utilities\FileUploads
;
use
App\Models\BlogCategories\BlogCategory
;
use
App\Models\BlogCategories\BlogCategory
;
use
App\Models\BlogMapCategories\BlogMapCategory
;
use
App\Models\BlogMapCategories\BlogMapCategory
;
use
App\Models\BlogMapTags\BlogMapTag
;
use
App\Models\Blogs\Blog
;
use
App\Models\BlogTags\BlogTag
;
use
App\Repositories\BaseRepository
;
use
Carbon\Carbon
;
use
DB
;
/**
/**
* Class BlogsRepository.
* Class BlogsRepository.
...
...
app/Repositories/Backend/Faqs/FaqsRepository.php
View file @
eb0b0f0b
config/backend.php
View file @
eb0b0f0b
config/module.php
View file @
eb0b0f0b
...
@@ -10,15 +10,15 @@ return [
...
@@ -10,15 +10,15 @@ return [
'types_table'
=>
'email_template_types'
,
'types_table'
=>
'email_template_types'
,
],
],
'blog_tags'
=>
[
'blog_tags'
=>
[
'table'
=>
'blog_tags'
'table'
=>
'blog_tags'
,
],
],
'blog_categories'
=>
[
'blog_categories'
=>
[
'table'
=>
'blog_categories'
'table'
=>
'blog_categories'
,
],
],
'blogs'
=>
[
'blogs'
=>
[
'table'
=>
'blogs'
'table'
=>
'blogs'
,
],
],
'faqs'
=>
[
'faqs'
=>
[
'table'
=>
'faqs'
'table'
=>
'faqs'
,
]
]
,
];
];
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