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