修改后台主页
This commit is contained in:
@@ -15,20 +15,20 @@ class HomeController extends Controller
|
|||||||
return $content
|
return $content
|
||||||
->title('Dashboard')
|
->title('Dashboard')
|
||||||
->description('Description...')
|
->description('Description...')
|
||||||
->row(Dashboard::title())
|
// ->row(Dashboard::title())
|
||||||
->row(function (Row $row) {
|
->row(function (Row $row) {
|
||||||
|
|
||||||
$row->column(4, function (Column $column) {
|
// $row->column(4, function (Column $column) {
|
||||||
$column->append(Dashboard::environment());
|
// $column->append(Dashboard::environment());
|
||||||
});
|
// });
|
||||||
|
//
|
||||||
$row->column(4, function (Column $column) {
|
// $row->column(4, function (Column $column) {
|
||||||
$column->append(Dashboard::extensions());
|
// $column->append(Dashboard::extensions());
|
||||||
});
|
// });
|
||||||
|
//
|
||||||
$row->column(4, function (Column $column) {
|
// $row->column(4, function (Column $column) {
|
||||||
$column->append(Dashboard::dependencies());
|
// $column->append(Dashboard::dependencies());
|
||||||
});
|
// });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ class CategoryController extends Controller
|
|||||||
{
|
{
|
||||||
if ($category->type == Category::TYPE_SHOW) {
|
if ($category->type == Category::TYPE_SHOW) {
|
||||||
if ($category->relations) {
|
if ($category->relations) {
|
||||||
return route('article.show', $category->relations);
|
return redirect(route('article.show', $category->relations));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$parent = getTopCate($category->id);
|
$parent = getTopCate($category->id);
|
||||||
|
|||||||
Reference in New Issue
Block a user