Module: SimpleModelView::ActionViewHelpers
- Defined in:
- lib/simple_model_view/action_view_helpers.rb
Instance Method Summary collapse
- #collection_table(*args, &block) ⇒ Object
- #collection_table_for(collection, *args, &block) ⇒ Object
- #resource_table(*args, &block) ⇒ Object
- #resource_table_for(resource, *args, &block) ⇒ Object
Instance Method Details
#collection_table(*args, &block) ⇒ Object
17 18 19 |
# File 'lib/simple_model_view/action_view_helpers.rb', line 17 def collection_table(*args, &block) collection_table_for collection, *args, &block end |
#collection_table_for(collection, *args, &block) ⇒ Object
13 14 15 |
# File 'lib/simple_model_view/action_view_helpers.rb', line 13 def collection_table_for(collection, *args, &block) SimpleModelView::ActionViewHelperBuilder.new(self).collection_table(collection, *args, &block) end |
#resource_table(*args, &block) ⇒ Object
9 10 11 |
# File 'lib/simple_model_view/action_view_helpers.rb', line 9 def resource_table(*args, &block) resource_table_for resource, *args, &block end |
#resource_table_for(resource, *args, &block) ⇒ Object
5 6 7 |
# File 'lib/simple_model_view/action_view_helpers.rb', line 5 def resource_table_for(resource, *args, &block) SimpleModelView::ActionViewHelperBuilder.new(self).resource_table(resource, args, &block) end |