module SimpleModelView::ActionViewHelpers

Public Instance Methods

collection_table(*args, &block) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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