| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class CategoryController extends Controller |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Constructor. |
||
| 14 | */ |
||
| 15 | public function __construct() |
||
| 16 | { |
||
| 17 | parent::__construct(); |
||
| 18 | |||
| 19 | $this->breadcrumbs->addCrumb( |
||
| 20 | '<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M17 8h2a2 2 0 012 2v6a2 2 0 01-2 2h-2v4l-4-4H9a1.994 1.994 0 01-1.414-.586m0 0L11 14h4a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2v4l.586-.586z"></path></svg> |
||
| 21 | Discuss', |
||
| 22 | route('admin.discuss.category.index') |
||
| 23 | ); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Show all categories. |
||
| 28 | * |
||
| 29 | * @return View |
||
| 30 | */ |
||
| 31 | public function index(): View |
||
| 40 | } |
||
| 41 | } |
||
| 42 |