Flowdock
method

helper_attr

Importance_1
v2.3.2 - Show latest stable - 0 notes - Class: ActionMailer::Helpers::ClassMethods
helper_attr(*attrs) public

Declare a controller attribute as a helper. For example,

  helper_attr :name
  attr_accessor :name

makes the name and name= controller methods available in the view. The is a convenience wrapper for helper_method.

Show source
Register or log in to add new notes.