Module: RailsCom::UrlHelper
- Defined in:
- app/helpers/rails_com/url_helper.rb
Instance Method Summary collapse
Instance Method Details
#button_to(name = nil, options = nil, html_options = nil, &block) ⇒ Object
4 5 6 7 8 9 |
# File 'app/helpers/rails_com/url_helper.rb', line 4 def (name = nil, = nil, = nil, &block) if name.is_a?(Hash) && block_given? name = url_for(name) end super end |