views:

511

answers:

0

Hi,

link_to_function raise an error with rails 3.

undefined method `link_to_function' for #<Class>

How can i do to have a link with a simple onclick, with the new rails 3 syntax?

Thanks