Welcome Guest, Not a member yet? Register   Sign In
autoload
#2

I managed to add this in route


$routes->add('user', 'admin0\User\Controllers\User::index');
$routes->add('user/ping', 'admin0\User\Controllers\User::ping');
$routes->add('user/test', 'admin0\User\Controllers\User::test');

i do not think that is the right way i think ??
Reply


Messages In This Thread
autoload - by admin0 - 06-19-2018, 07:46 AM
RE: autoload - by admin0 - 06-19-2018, 08:02 AM
RE: autoload - by Nome - 06-21-2018, 12:01 AM
RE: autoload - by InsiteFX - 06-21-2018, 03:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB