Class: Kaminari::Helpers::SinatraHelpers::ActionViewTemplateProxy
- Inherits:
-
Object
- Object
- Kaminari::Helpers::SinatraHelpers::ActionViewTemplateProxy
- Defined in:
- app/web_panel.rb
Instance Method Summary collapse
Instance Method Details
#render(*args) ⇒ Object
26 27 28 29 30 31 |
# File 'app/web_panel.rb', line 26 def render(*args) base = ActionView::Base.new.tap do |a| a.view_paths << File.('../views', __FILE__) end base.render(*args) end |