routes.rb resources :messages do member do get :tweet end end
should give you a tweet_message_path to use in a view like <%= link_to('Tweet This', tweet_message_path(message.id)) %> and direct the app to your tweet method in the messages_controller -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.