Class: PagesCell

Inherits:
BaseCell
  • Object
show all
Includes:
ActionView::Helpers::OutputSafetyHelper, ActionView::Helpers::TranslationHelper, Cell::ViewModel::Partial, Kaminari::Helpers::HelperMethods
Defined in:
lib/bootstrap-cells/cells/pages_cell.rb

Instance Method Summary collapse

Methods inherited from BaseCell

#c, #fetch_errors, #merge_props, #render_attribute_path, #render_option, #renderable?, #titleized_attribute_path

Instance Method Details

#paginate(scope, options = {}, &block) ⇒ Object



12
13
14
15
# File 'lib/bootstrap-cells/cells/pages_cell.rb', line 12

def paginate(scope, options = {}, &block)
  options = options.reverse_merge(views_prefix: '../../../app/views')
  super(scope, options, &block)
end