Skip to content

Adding routes to group doesn't work #258

@sammyskills

Description

@sammyskills

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions