I'm new to ruby, and I'm tweaking a plugin.  Can you show me how I
would close a window upon clicking a submit button?  Here's the code
on the xhtml page:     <%= submit_tag "Save" %>

And the code on the controller.rb page:     redirect_to params.slice
(:filter, :sort_by, :key_type, :key_pattern, :text_type, :text_pattern).merge
({:action => :index})

As I stated, I would like this last line to close instead of
redirecting to index.  Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to