Skip to content

Adding routes to group doesn't work #258

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions