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
b52ea3d5
Commit
b52ea3d5
authored
Nov 26, 2017
by
Viral Solani
Committed by
StyleCI Bot
Nov 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply fixes from StyleCI
parent
70f72da8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
18 deletions
+18
-18
PagesController.php
app/Http/Controllers/Backend/Pages/PagesController.php
+7
-7
PagesTableController.php
app/Http/Controllers/Backend/Pages/PagesTableController.php
+3
-3
Page.php
app/Models/Page/Page.php
+1
-1
PagesRepository.php
app/Repositories/Backend/Pages/PagesRepository.php
+5
-5
PagesTableSeeder.php
database/seeds/PagesTableSeeder.php
+1
-1
Pages.php
routes/Backend/Pages.php
+1
-1
No files found.
app/Http/Controllers/Backend/Pages/PagesController.php
View file @
b52ea3d5
...
...
@@ -2,15 +2,15 @@
namespace
App\Http\Controllers\Backend\Pages
;
use
App\Models\Page\Page
;
use
App\Http\Controllers\Controller
;
use
App\Repositories\Backend\Pages\PagesRepository
;
use
App\Http\Requests\Backend\Pages\EditPageRequest
;
use
App\Http\Requests\Backend\Pages\StorePageRequest
;
use
App\Http\Requests\Backend\Pages\CreatePageRequest
;
use
App\Http\Requests\Backend\Pages\DeletePageRequest
;
use
App\Http\Requests\Backend\Pages\EditPageRequest
;
use
App\Http\Requests\Backend\Pages\ManagePageRequest
;
use
App\Http\Requests\Backend\Pages\StorePageRequest
;
use
App\Http\Requests\Backend\Pages\UpdatePageRequest
;
use
App\Models\Page\Page
;
use
App\Repositories\Backend\Pages\PagesRepository
;
/**
* Class PagesController.
...
...
@@ -63,7 +63,7 @@ class PagesController extends Controller
}
/**
* @param Page
$page
* @param Page $page
* @param EditPageRequest $request
*
* @return mixed
...
...
@@ -75,7 +75,7 @@ class PagesController extends Controller
}
/**
* @param Page $page
* @param Page
$page
* @param UpdatePageRequest $request
*
* @return mixed
...
...
@@ -88,7 +88,7 @@ class PagesController extends Controller
}
/**
* @param Page $page
* @param Page
$page
* @param DeletePageRequest $request
*
* @return mixed
...
...
app/Http/Controllers/Backend/Pages/PagesTableController.php
View file @
b52ea3d5
...
...
@@ -2,11 +2,11 @@
namespace
App\Http\Controllers\Backend\Pages
;
use
Carbon\Carbon
;
use
App\Http\Controllers\Controller
;
use
Yajra\DataTables\Facades\DataTables
;
use
App\Repositories\Backend\Pages\PagesRepository
;
use
App\Http\Requests\Backend\Pages\ManagePageRequest
;
use
App\Repositories\Backend\Pages\PagesRepository
;
use
Carbon\Carbon
;
use
Yajra\DataTables\Facades\DataTables
;
/**
* Class PagesTableController.
...
...
app/Models/Page/Page.php
View file @
b52ea3d5
...
...
@@ -3,9 +3,9 @@
namespace
App\Models\Page
;
use
App\Models\ModelTrait
;
use
App\Models\Page\Traits\Attribute\PageAttribute
;
use
Illuminate\Database\Eloquent\Model
;
use
Illuminate\Database\Eloquent\SoftDeletes
;
use
App\Models\Page\Traits\Attribute\PageAttribute
;
class
Page
extends
Model
{
...
...
app/Repositories/Backend/Pages/PagesRepository.php
View file @
b52ea3d5
...
...
@@ -2,14 +2,14 @@
namespace
App\Repositories\Backend\Pages
;
use
DB
;
use
App\Models\Page\Page
;
use
App\Repositories\BaseRepository
;
use
App\Exceptions\GeneralException
;
use
Illuminate\Database\Eloquent\Model
;
use
App\Events\Backend\Pages\PageCreated
;
use
App\Events\Backend\Pages\PageDeleted
;
use
App\Events\Backend\Pages\PageUpdated
;
use
App\Exceptions\GeneralException
;
use
App\Models\Page\Page
;
use
App\Repositories\BaseRepository
;
use
DB
;
use
Illuminate\Database\Eloquent\Model
;
/**
* Class PagesRepository.
...
...
database/seeds/PagesTableSeeder.php
View file @
b52ea3d5
<?php
use
Carbon\Carbon
;
use
Database\DisableForeignKeys
;
use
Database\TruncateTable
;
use
Illuminate\Database\Seeder
;
use
Database\DisableForeignKeys
;
use
Illuminate\Support\Facades\DB
;
class
PagesTableSeeder
extends
Seeder
...
...
routes/Backend/Pages.php
View file @
b52ea3d5
...
...
@@ -8,4 +8,4 @@ Route::group(['namespace' => 'Pages'], function () {
//For DataTables
Route
::
post
(
'pages/get'
,
'PagesTableController'
)
->
name
(
'pages.get'
);
});
\ No newline at end of file
});
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