to search_show). I am told that if the request is xhr then I can't
redirect to the search_show action? Is that right? If yes, how do I
handle this?
Hi If what I understood from your post is correct, you can do from
controller like
render :update do |page|
page.redirect_to
With my search forms, I use two partials, one for the controls and one
for the result and then just use a page update to redisplay both
parts.
If you really want a redirect
On Jun 6, 11:25 am, javinto jan.javi...@gmail.com wrote:
format.js {
render :action= search_show,
Hi,
What you cannot do is mixing Ajax requests with full URL page requests
But what you can do is something like:
format.js {
render :action= search_show, :layout=false
}
Your search_show view will be rendered without any application layout
provided you're using the same
3 matches
Mail list logo