Ruby on Rails
Sunday, January 2, 2011
how could i get a value from previus page?
for example
on EVENT show view i have
<%= link_to 'New Message', new_message_path( :event_id => @event.id) %>
|
and i need to get the event id on the new_message page to send it when
creating the message
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment