Welcome Guest, Not a member yet? Register   Sign In
Can i combine ruoters?
#1

$routes->get('/', [Share::class, 'History']);
$routes->get('history', [Share::class, 'History']);


Can i combine to one?
Reply
#2

can't. You need to specify a more accurate route above.

Code:
/history/view/(:num)
/history/
/
Reply




Theme © iAndrew 2016 - Forum software by © MyBB