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
e7e74e44
Commit
e7e74e44
authored
Dec 01, 2017
by
Vipul Basapati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Breadcrumb of Pages Module
parent
6e849abe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
Backend.php
app/Http/Breadcrumbs/Backend/Backend.php
+1
-1
CMS_Page.php
app/Http/Breadcrumbs/Backend/CMS_Page.php
+0
-16
Page.php
app/Http/Breadcrumbs/Backend/Page.php
+16
-0
No files found.
app/Http/Breadcrumbs/Backend/Backend.php
View file @
e7e74e44
...
...
@@ -8,7 +8,7 @@ require __DIR__.'/Search.php';
require
__DIR__
.
'/Access/User.php'
;
require
__DIR__
.
'/Access/Role.php'
;
require
__DIR__
.
'/Access/Permission.php'
;
require
__DIR__
.
'/
CMS_
Page.php'
;
require
__DIR__
.
'/Page.php'
;
require
__DIR__
.
'/Email_Template.php'
;
require
__DIR__
.
'/Setting.php'
;
require
__DIR__
.
'/Blog_Category.php'
;
...
...
app/Http/Breadcrumbs/Backend/CMS_Page.php
deleted
100755 → 0
View file @
6e849abe
<?php
Breadcrumbs
::
register
(
'admin.cmspages.index'
,
function
(
$breadcrumbs
)
{
$breadcrumbs
->
parent
(
'admin.dashboard'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.cmspages.management'
),
route
(
'admin.cmspages.index'
));
});
Breadcrumbs
::
register
(
'admin.cmspages.create'
,
function
(
$breadcrumbs
)
{
$breadcrumbs
->
parent
(
'admin.cmspages.index'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.cmspages.create'
),
route
(
'admin.cmspages.create'
));
});
Breadcrumbs
::
register
(
'admin.cmspages.edit'
,
function
(
$breadcrumbs
,
$id
)
{
$breadcrumbs
->
parent
(
'admin.cmspages.index'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.cmspages.edit'
),
route
(
'admin.cmspages.edit'
,
$id
));
});
app/Http/Breadcrumbs/Backend/Page.php
0 → 100644
View file @
e7e74e44
<?php
Breadcrumbs
::
register
(
'admin.pages.index'
,
function
(
$breadcrumbs
)
{
$breadcrumbs
->
parent
(
'admin.dashboard'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.pages.management'
),
route
(
'admin.pages.index'
));
});
Breadcrumbs
::
register
(
'admin.pages.create'
,
function
(
$breadcrumbs
)
{
$breadcrumbs
->
parent
(
'admin.pages.index'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.pages.create'
),
route
(
'admin.pages.create'
));
});
Breadcrumbs
::
register
(
'admin.pages.edit'
,
function
(
$breadcrumbs
,
$id
)
{
$breadcrumbs
->
parent
(
'admin.pages.index'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.pages.edit'
),
route
(
'admin.pages.edit'
,
$id
));
});
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