Class: Pageflow::BuiltInPageTypesPlugin
- Defined in:
- lib/pageflow/built_in_page_types_plugin.rb
Instance Method Summary collapse
Instance Method Details
#configure(config) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/pageflow/built_in_page_types_plugin.rb', line 3 def configure(config) config.for_entry_type(PageflowPaged.entry_type) do |entry_type_config| entry_type_config.page_types.register(BuiltInPageType.plain) entry_type_config.page_types.register(BuiltInPageType.video) entry_type_config.page_types.register(BuiltInPageType.audio) end end |