浏览代码

Route files for the core functionalities

ahwelp 2 年之前
父节点
当前提交
616a97f16c
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      app/core/Routes.php

+ 8 - 0
app/core/Routes.php

@@ -0,0 +1,8 @@
+<?php
+
+use App\Core\Template\Output as Output;
+use Routes\RouteCollection as RouteCollection;
+
+RouteCollection::get('*', function() {
+    Output::addSubmenu('dev', 'Desenvolvimento', icon('terminal'), ['class' => 'nav-link'], 10 );
+}, -10)->doIgnore();