Hello everyone, I have a MessagesController created with rails g
scaffold and the user may create messages that get saved, in tihs
controller I have a method called ''tweet'' that (using the
twitter
gem / Twitter API) triggers the given message to twitter. However I
don''t know how to put a tweet link in my /tweets/index.html.erb... you
know this link won''t be calling an action (edit, destroy, new), this
link will be calling a method created by myself in the controller. Can
you help me?
P.S: I am using rails 3.
Thanks!
Rodrigo Alves Vieira
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.