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');
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.