Explorar o código

Route files for the core functionalities

ahwelp %!s(int64=2) %!d(string=hai) anos
pai
achega
616a97f16c
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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();