Przeglądaj źródła

Route files for the core functionalities

ahwelp 2 lat temu
rodzic
commit
616a97f16c
1 zmienionych plików z 8 dodań i 0 usunięć
  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();