Welcome Guest, Not a member yet? Register   Sign In
Mapping multiple routes
#1

The route map should also work with multi-array. I think

$routes->map([
    'admin' => [
        'blog' => 'Admin\Blog::index',
        'users' => [
            '/' => 'Admin\Users::index'
            'list' => 'Admin\Users::list',
        ]
    ]
]);
Reply




Theme © iAndrew 2016 - Forum software by © MyBB