HTML Button to call RESTful URL?

How can I amend a button on my form that looks like:

To invoke a method

def leads

end

in my ChannelsController ? Thanks, Rvince

RVince wrote:

How can I amend a button on my form that looks like:

To invoke a method

def leads

end

http://www.railsbrain.com/api/rails-2.3.2/doc/index.html?a=M002468&name=button_to_remote