Module: Pageflow::Editor::EntriesHelper Private

Defined in:
app/helpers/pageflow/editor/entries_helper.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#editor_entry_type_fragment(entry, fragment_name) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



5
6
7
# File 'app/helpers/pageflow/editor/entries_helper.rb', line 5

def editor_entry_type_fragment(entry, fragment_name)
  entry.entry_type.editor_fragment_renderer.send("#{fragment_name}_fragment", entry)
end