Skip to content

Why this route does not work ? #2919

Description

@crustamet

Hello i am trying to make an action type in a controller
i have this route that is not working for some reason

$routes->group('cms/banners', ['namespace' => 'App\Controllers\Modules\cms'], function($routes)
{
	$routes->get('/', 'Banners::index');
	$routes->get('?action=(.+)', 'Banners::$1');
});

Am i doing something wrong here ?

When i try to access https://example/cms/banners?action=add
does not link to the route

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