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