Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Error in routes. #10

@violentanirudh

Description

@violentanirudh

URL routing is not working as expected

example.com/auth/ is working but example.com/auth is also working (without css)
example.com/auth/dashboard working but example.com/auth/dashboard/ is also working (without css)
example.com/auth/setting working but example.com/auth/setting/ is also working (without css)

Which means, dashboard and setting is working like directory.

app() -> mount('/auth', function() {

    app() -> get('', 'AuthController@index');
    app() -> get('dashboard', 'AuthController@dashboard');
    app() -> get('setting', 'AuthController@setting');

});

app() -> get('*', 'ErrorController@notfound');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Under Review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions