소스 검색

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();