I made a before_filter in some of my controller to redirect keyword searches to the parent controller
It\'s very simple:
before_filter :redirect_se
I think the problem is in the view which is doing the request
you are sending a JS request (ajax), so you should return a js.erb file and render new HTML using js