Hello,
I've tried to change the default route by grouping it like so:
$routes->group('account', function($routes) {
service('auth')->routes($routes);
});
But it doesn't work as expected, visiting account/login OR account/register, returns a 404 error and when I run php spark routes command, it shows:
account///login
account///register
I understand that from the docs, it is possible to customize the routes, but what if I just want to put all the routes in a group, without having to do that for all individual routes?
Hello,
I've tried to change the default route by grouping it like so:
$routes->group('account', function($routes) {service('auth')->routes($routes);});But it doesn't work as expected, visiting
account/loginORaccount/register, returns a 404 error and when I runphp spark routescommand, it shows:account///loginaccount///registerI understand that from the docs, it is possible to customize the routes, but what if I just want to put all the routes in a group, without having to do that for all individual routes?