| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function extendWith(Menu $menu) |
||
| 33 | { |
||
| 34 | $menu->group(trans('core::sidebar.content'), function (Group $group) { |
||
| 35 | $group->item(trans('tag::tags.tags'), function (Item $item) { |
||
| 36 | $item->icon('fa fa-tag'); |
||
| 37 | $item->weight(0); |
||
| 38 | $item->route('admin.tag.tag.index'); |
||
| 39 | $item->authorize( |
||
| 40 | $this->auth->hasAccess('tag.tags.index') |
||
| 41 | ); |
||
| 42 | }); |
||
| 43 | }); |
||
| 44 | |||
| 45 | return $menu; |
||
| 46 | } |
||
| 47 | } |
||
| 48 |