Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想自定义搜索结果的显示,但似乎无法覆盖refinerycms-search 视图?我查看了https://gist.github.com/ryandeussing/2502881并尝试了 rake 任务的组合,但没有成功。
我最终只是手动添加文件并从 github 复制粘贴代码。例如,我创建了一个目录和一个文件 app/views/refinery/ search/show.html.erb,并从refinerycms-search 对应的视图中复制并粘贴代码作为起点。