Using elasticsearch/searchkick to run a search bar via my navbar and show results in a search.html not index.html? ..
Hello,
I just finished going over Chris's two great railscasts dealing with search. However, I wanted to put my search bar on my navbar so that whenever someone searches the results I will be taken to my search.html.erb within my books folder (similar to how Gorails works). https://chatrandom.live https://topdatingwebsitesx.com/chatrandom https://topdatingwebsitesx.com/camsurf I ran into an issue though, everytime I did a search I was taken to my books page with no results being shown just my standard index showing all my books and was never taken to my search results page. I've listed all my relevant code below. If anyone can help me out would be super grateful.
thanks
alexsunny