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.
We tried integrating quick_search into an existing application with another engine (Blacklight) mounted in
/. However, we hit errors becausequick_search/pages/homewas being rendered in the wrong layout, the default applicaiton layout.We were able to make it work in our app by overriding the
SearchControllerand 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.