Skip to content

Add options to control method failure handling in the Router middleware #249

@olegbaturin

Description

@olegbaturin
  1. Add handleMethodFailure property to enable/disable method failure handling.
  2. Add optionsHandler and notAllowedHandler properties to generate appropriate responses.

https://github.com/olegbaturin/yii3-router/blob/c954cadfe0d8a48619e6a78378dc73ce663b0194/src/Middleware/Router.php#L20

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions