I need some help with routes and params. I am developming some forums
for a web. I want to be able to create new replies once a post has been
created. So I create a post and then I have to put a link named "Reply".
What I want to do is Reply.create, and pass post_id as a param to this
Reply.create action. How can I make this link? How can I get this param
in replies controller?
I  think I can create a whole new action, but I would like to use
Reply.create.
-- 
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