Skip to content

Filter in the router #1315

Description

@demortx

$routes->group('System',['namespace' => 'App\API\v1\System', 'filter' => 'api-guard'] , function($routes)

The api-guard filter has 2 methods before and after, for my ap it is necessary to log what happened during the request, and if we set the fitr through a router, then the after method simply does not work.

In the documentation about this there is no information, because of this, it was added that this is a mistake.

CodeIgniter 4 version
4.0.0-alpha.1

Context

  • OS: ubuntu16.04.1
  • PHP version 7.2.8-1

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

    enhancementPRs that improve existing functionalities

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions