Add Router to core.
This commit is contained in:
parent
246bbed148
commit
69c761c3b1
58 changed files with 6451 additions and 157 deletions
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Pecee\SimpleRouter\SimpleRouter;
|
||||
use Runtime\Router\Route;
|
||||
|
||||
SimpleRouter::get('/', 'HomeController@index')->name('index');
|
||||
SimpleRouter::get('/test', 'HomeController@test')->name('test');
|
||||
Route::get('/', 'HomeController@index')->name('index');
|
||||
Route::get('/test', 'HomeController@test')->name('test');
|
||||
Route::get('/yolo', 'HomeController@test')->name('kutzooi');
|
Loading…
Add table
Add a link
Reference in a new issue