xxmithila wrote:
> Hi guys....
> 
>    I want to drict again same page after submitting values to another
> methode in the controller.
> 
> 
> 
> ex::
> 
> Im in
> 
>     post.rhtml
> 
> I submit some data to methode
> 
> 
>     def mail
> 
>     end
> 
> then I want to direct again to post.rhtml  page with submission
> success message.
> 
> please help me.....
> mithila

You could always use a link_to_remote or form_remote_tag to submit some 
data and then just update a div in that page or do nothing. Your app 
would appear to run more smoothly if you avoided having to reload the 
page again, just a thought.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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