module ActsAsIndexable::ActsAsIndexableHelper

Public Instance Methods

render_indexable(collection, **opts) click to toggle source
# File app/helpers/acts_as_indexable/acts_as_indexable_helper.rb, line 4
def render_indexable(collection, **opts)
  render partial: 'acts_as_indexable/index',
         object: collection,
         as: :collection,
         locals: { opts: opts }
end