module HocusPocus::Editor::PartialRendererExtension

Public Instance Methods

render_partial(view, template) click to toggle source
Calls superclass method
# File engines/editor/lib/hocus_pocus/editor/railtie.rb, line 11
def render_partial(view, template)
  (Thread.current[HocusPocus::Editor::PARTIAL_FILENAMES] ||= []) << template unless view.controller.class.name.starts_with?('HocusPocus::')
  super
end