// Create a new instance of our RouteCollection class.
$routes = Services::routes();
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
namespace Config;
|
||||
global $routes;
|
||||
// Create a new instance of our RouteCollection class.
|
||||
$routes = Services::routes();
|
||||
|
||||
$routes->get('/', 'Home::index');
|
||||
|
||||
$routes->get('/en/wrench/api/v1/test','Home::test');
|
||||
|
||||
Reference in New Issue
Block a user