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
7eb1e7eb
Commit
7eb1e7eb
authored
Feb 01, 2018
by
Vipul Basapati
Committed by
StyleCI Bot
Feb 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply fixes from StyleCI
parent
32486836
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
FrontendController.php
app/Http/Controllers/Frontend/FrontendController.php
+1
-1
PageAttribute.php
app/Models/Page/Traits/Attribute/PageAttribute.php
+1
-2
PagesRepository.php
app/Repositories/Backend/Pages/PagesRepository.php
+1
-1
No files found.
app/Http/Controllers/Frontend/FrontendController.php
View file @
7eb1e7eb
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
namespace
App\Http\Controllers\Frontend
;
namespace
App\Http\Controllers\Frontend
;
use
App\Models\Settings\Setting
;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Models\Settings\Setting
;
use
App\Repositories\Frontend\Pages\PagesRepository
;
use
App\Repositories\Frontend\Pages\PagesRepository
;
/**
/**
...
...
app/Models/Page/Traits/Attribute/PageAttribute.php
View file @
7eb1e7eb
...
@@ -24,12 +24,11 @@ trait PageAttribute
...
@@ -24,12 +24,11 @@ trait PageAttribute
*/
*/
public
function
getViewButtonAttribute
()
public
function
getViewButtonAttribute
()
{
{
return
'<a target="_blank" href="'
.
route
(
'frontend.pages.show'
,
$this
->
page_slug
)
.
'" class="btn btn-flat btn-default">
return
'<a target="_blank" href="'
.
route
(
'frontend.pages.show'
,
$this
->
page_slug
)
.
'" class="btn btn-flat btn-default">
<i data-toggle="tooltip" data-placement="top" title="View Page" class="fa fa-eye"></i>
<i data-toggle="tooltip" data-placement="top" title="View Page" class="fa fa-eye"></i>
</a>'
;
</a>'
;
}
}
/**
/**
* @return string
* @return string
*/
*/
...
...
app/Repositories/Backend/Pages/PagesRepository.php
View file @
7eb1e7eb
...
@@ -29,7 +29,7 @@ class PagesRepository extends BaseRepository
...
@@ -29,7 +29,7 @@ class PagesRepository extends BaseRepository
->
select
([
->
select
([
config
(
'module.pages.table'
)
.
'.id'
,
config
(
'module.pages.table'
)
.
'.id'
,
config
(
'module.pages.table'
)
.
'.title'
,
config
(
'module.pages.table'
)
.
'.title'
,
config
(
'module.pages.table'
)
.
'.page_slug'
,
config
(
'module.pages.table'
)
.
'.page_slug'
,
config
(
'module.pages.table'
)
.
'.status'
,
config
(
'module.pages.table'
)
.
'.status'
,
config
(
'module.pages.table'
)
.
'.created_at'
,
config
(
'module.pages.table'
)
.
'.created_at'
,
config
(
'module.pages.table'
)
.
'.updated_at'
,
config
(
'module.pages.table'
)
.
'.updated_at'
,
...
...
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