Skip to content

Uses wrong layout when mounted within existing app #18

@bibliotechy

Description

@bibliotechy

We tried integrating quick_search into an existing application with another engine (Blacklight) mounted in /. However, we hit errors because quick_search/pages/home was being rendered in the wrong layout, the default applicaiton layout.

We were able to make it work in our app by overriding the SearchController and adding

`layout "quick_search/application"

to the class.

Seems like the existing layout inheritance should handle this, but isn't doing so in our case.

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