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
52e7b506
Commit
52e7b506
authored
Jun 23, 2018
by
Vipul Basapati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solved BlogCategory and BlogTag breadcrumbs issue, they were not showing up
parent
edd4edf8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
19 deletions
+17
-19
Access.php
app/Http/Breadcrumbs/Backend/Access.php
+0
-0
Blog_Category.php
app/Http/Breadcrumbs/Backend/Blog_Category.php
+8
-8
Blog_Tag.php
app/Http/Breadcrumbs/Backend/Blog_Tag.php
+8
-8
app.blade.php
resources/views/backend/layouts/app.blade.php
+1
-3
No files found.
app/Http/Breadcrumbs/Backend/Access.php
deleted
100755 → 0
View file @
edd4edf8
app/Http/Breadcrumbs/Backend/Blog_Category.php
View file @
52e7b506
<?php
<?php
Breadcrumbs
::
register
(
'admin.blog
c
ategories.index'
,
function
(
$breadcrumbs
)
{
Breadcrumbs
::
register
(
'admin.blog
C
ategories.index'
,
function
(
$breadcrumbs
)
{
$breadcrumbs
->
parent
(
'admin.dashboard'
);
$breadcrumbs
->
parent
(
'admin.dashboard'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogcategories.management'
),
route
(
'admin.blog
c
ategories.index'
));
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogcategories.management'
),
route
(
'admin.blog
C
ategories.index'
));
});
});
Breadcrumbs
::
register
(
'admin.blog
c
ategories.create'
,
function
(
$breadcrumbs
)
{
Breadcrumbs
::
register
(
'admin.blog
C
ategories.create'
,
function
(
$breadcrumbs
)
{
$breadcrumbs
->
parent
(
'admin.blog
c
ategories.index'
);
$breadcrumbs
->
parent
(
'admin.blog
C
ategories.index'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogcategories.create'
),
route
(
'admin.blog
c
ategories.create'
));
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogcategories.create'
),
route
(
'admin.blog
C
ategories.create'
));
});
});
Breadcrumbs
::
register
(
'admin.blog
c
ategories.edit'
,
function
(
$breadcrumbs
,
$id
)
{
Breadcrumbs
::
register
(
'admin.blog
C
ategories.edit'
,
function
(
$breadcrumbs
,
$id
)
{
$breadcrumbs
->
parent
(
'admin.blog
c
ategories.index'
);
$breadcrumbs
->
parent
(
'admin.blog
C
ategories.index'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogcategories.edit'
),
route
(
'admin.blog
c
ategories.edit'
,
$id
));
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogcategories.edit'
),
route
(
'admin.blog
C
ategories.edit'
,
$id
));
});
});
app/Http/Breadcrumbs/Backend/Blog_Tag.php
View file @
52e7b506
<?php
<?php
Breadcrumbs
::
register
(
'admin.blog
t
ags.index'
,
function
(
$breadcrumbs
)
{
Breadcrumbs
::
register
(
'admin.blog
T
ags.index'
,
function
(
$breadcrumbs
)
{
$breadcrumbs
->
parent
(
'admin.dashboard'
);
$breadcrumbs
->
parent
(
'admin.dashboard'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogtags.management'
),
route
(
'admin.blog
t
ags.index'
));
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogtags.management'
),
route
(
'admin.blog
T
ags.index'
));
});
});
Breadcrumbs
::
register
(
'admin.blog
t
ags.create'
,
function
(
$breadcrumbs
)
{
Breadcrumbs
::
register
(
'admin.blog
T
ags.create'
,
function
(
$breadcrumbs
)
{
$breadcrumbs
->
parent
(
'admin.blog
t
ags.index'
);
$breadcrumbs
->
parent
(
'admin.blog
T
ags.index'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogtags.create'
),
route
(
'admin.blog
t
ags.create'
));
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogtags.create'
),
route
(
'admin.blog
T
ags.create'
));
});
});
Breadcrumbs
::
register
(
'admin.blog
t
ags.edit'
,
function
(
$breadcrumbs
,
$id
)
{
Breadcrumbs
::
register
(
'admin.blog
T
ags.edit'
,
function
(
$breadcrumbs
,
$id
)
{
$breadcrumbs
->
parent
(
'admin.blog
t
ags.index'
);
$breadcrumbs
->
parent
(
'admin.blog
T
ags.index'
);
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogtags.edit'
),
route
(
'admin.blog
t
ags.edit'
,
$id
));
$breadcrumbs
->
push
(
trans
(
'menus.backend.blogtags.edit'
),
route
(
'admin.blog
T
ags.edit'
,
$id
));
});
});
resources/views/backend/layouts/app.blade.php
View file @
52e7b506
...
@@ -36,9 +36,7 @@
...
@@ -36,9 +36,7 @@
<!-- Scripts -->
<!-- Scripts -->
<script>
<script>
window
.
Laravel
=
<?php
echo
json_encode
([
window
.
Laravel
=
{
!!
json_encode
([
'
csrfToken
'
=>
csrf_token
()
])
!!
};
'csrfToken'
=>
csrf_token
(),
]);
?>
</script>
</script>
</head>
</head>
<body
class=
"skin-{{ config('backend.theme') }} {{ config('backend.layout') }}"
>
<body
class=
"skin-{{ config('backend.theme') }} {{ config('backend.layout') }}"
>
...
...
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