Flowdock
method

helper_method

Importance_1
helper_method(*methods) public

Declare a controller method as a helper. For example,

  helper_method :link_to
  def link_to(name, options) ... end

makes the link_to controller method available in the view.

Show source
Register or log in to add new notes.