Skip to content

Can't merge custom context when using collection #24

@bootleq

Description

@bootleq

I'm in a Rails project, using concept helper to do render:

concept('some/cell/index', collection: Song.all, context: {foo: :bar})

While I found the context hash will always be overwritten as {controller: ...}, but my expected result is a hash with foo key.

Some tracing:

Does my usage reasonable? If yes I think we can do a deep_merge to avoid options overwritten.

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