Skip to content

Crumbs are never current on POST #51

Open
@benny-burkhart

Description

@benny-burkhart

Describe the problem

Crumbs are never current when rendered on a response to e.g. an HTTP Post.

Steps to reproduce the problem

Render the same crumbs in response to HTTP POST and GET request.

Actual behaviour

On GET, some crumbs can be current, and others not.
On POST, crumbs are never current.

Expected behaviour

Respect the behaviour configured using :match.

Describe your environment

  • OS version: MacOS Big Sur
  • Ruby version: 2.7
  • Loaf version: 0.10

This line here might be reasonably blunt:
https://github.com/piotrmurach/loaf/blob/v0.10.0/lib/loaf/view_extensions.rb#L69

Reckons? Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions