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
142acebd
Unverified
Commit
142acebd
authored
Feb 01, 2018
by
Viral Solani
Committed by
GitHub
Feb 01, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #146 from viralsolani/analysis-qgNlyb
Apply fixes from StyleCI
parents
32486836
7eb1e7eb
Changes
3
Hide 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 @
142acebd
...
...
@@ -2,8 +2,8 @@
namespace
App\Http\Controllers\Frontend
;
use
App\Models\Settings\Setting
;
use
App\Http\Controllers\Controller
;
use
App\Models\Settings\Setting
;
use
App\Repositories\Frontend\Pages\PagesRepository
;
/**
...
...
app/Models/Page/Traits/Attribute/PageAttribute.php
View file @
142acebd
...
...
@@ -24,12 +24,11 @@ trait PageAttribute
*/
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>
</a>'
;
}
/**
* @return string
*/
...
...
app/Repositories/Backend/Pages/PagesRepository.php
View file @
142acebd
...
...
@@ -29,7 +29,7 @@ class PagesRepository extends BaseRepository
->
select
([
config
(
'module.pages.table'
)
.
'.id'
,
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'
)
.
'.created_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