Method: Pageflow::Configuration#features
- Defined in:
- lib/pageflow/configuration.rb
#features ⇒ Object (readonly)
Extend the configuration based on feature flags set for accounts or entries.
Make a page type only available if a feature flag is set on the entry or its account
config.features.register('some_special_page_type' do |config
config.page_types.register(Pageflow::SomeSpecial.page_type)
end
50 51 52 |
# File 'lib/pageflow/configuration.rb', line 50 def features @features end |