@@ -15,12 +15,12 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | public function extendWith(\Maatwebsite\Sidebar\Menu $menu) |
| 17 | 17 | { |
| 18 | - $menu->group(trans('core::sidebar.content'), function (Group $group) { |
|
| 19 | - $group->item(trans('blog::blog.title'), function (Item $item) { |
|
| 18 | + $menu->group(trans('core::sidebar.content'), function(Group $group) { |
|
| 19 | + $group->item(trans('blog::blog.title'), function(Item $item) { |
|
| 20 | 20 | $item->icon('fa fa-copy'); |
| 21 | 21 | $item->weight(config('asgard.blog.config.sidebar-position', 15)); |
| 22 | 22 | |
| 23 | - $item->item(trans('blog::post.title.post'), function (Item $item) { |
|
| 23 | + $item->item(trans('blog::post.title.post'), function(Item $item) { |
|
| 24 | 24 | $item->icon('fa fa-copy'); |
| 25 | 25 | $item->weight(0); |
| 26 | 26 | $item->append('admin.blog.post.create'); |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | $this->auth->hasAccess('blog.posts.index') |
| 30 | 30 | ); |
| 31 | 31 | }); |
| 32 | - $item->item(trans('blog::category.title.category'), function (Item $item) { |
|
| 32 | + $item->item(trans('blog::category.title.category'), function(Item $item) { |
|
| 33 | 33 | $item->icon('fa fa-file-text'); |
| 34 | 34 | $item->weight(1); |
| 35 | 35 | $item->route('admin.blog.category.index'); |