Class: Kaminari::Helpers::SinatraHelpers::ActionViewTemplateProxy
- Inherits:
-
Object
- Object
- Kaminari::Helpers::SinatraHelpers::ActionViewTemplateProxy
- Defined in:
- lib/kaminari_patch.rb
Instance Method Summary collapse
Instance Method Details
#render(*args) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/kaminari_patch.rb', line 6 def render(*args) base = ActionView::Base.new.tap do |a| a.view_paths << File.("#{ActivateAdmin.root}/lib", __FILE__) end base.render(*args) end |