Module: UcbRailsUserHelper
- Defined in:
- app/helpers/ucb_rails_user_helper.rb
Overview
These methods should be extracted into own gem.
Instance Method Summary collapse
Instance Method Details
#ucbr_table_tag(*args) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'app/helpers/ucb_rails_user_helper.rb', line 4 def ucbr_table_tag(*args) = (args.) ar_class = args.first if ar_class.respond_to?(:haml_attributes) [:id] ||= ar_class.haml_attributes["id"] = ensure_class(, ar_class.haml_attributes["class"]) end bs_table_tag() do yield end end |