Skip to content

OPTIONS method for namespaced GET does not call inner before filter #1428

Closed
@jlfaber

Description

@jlfaber

When I use a namespace to define a GET method, and I add a before filter within the namespace block, that filter is called when GET executes, but is not called when OPTIONS executes. This differs from the behavior when the GET and before filter are not within a namespace. In that case, the before filter is called both for GET and OPTIONS.

I'll add a PR with a failing test spec to demonstrate the issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions