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