module Thelpers::ViewHelpers

Public Instance Methods

button_to(name = nil, options = nil, html_options = nil, &block) click to toggle source
Calls superclass method
# File lib/thelpers/view_helpers.rb, line 9
def button_to(name = nil, options = nil, html_options = nil, &block)
  name = I18n.t("buttons.#{name}") if !block_given? && name.is_a?(Symbol)
  super name, options, html_options, &block
end