Module: Acts::ContentNode
- Defined in:
- lib/acts_as_content_node.rb
Overview
:nodoc:
Defined Under Namespace
Modules: ClassMethods
Constant Summary
- DEFAULT_CONTENT_TYPE_CONFIGURATION =
{ :enabled => true, :allowed_child_content_types => [], :allowed_roles_for_update => %w( admin editor final_editor ), :allowed_roles_for_create => %w( admin editor final_editor ), :allowed_roles_for_destroy => %w( admin editor final_editor ), :available_content_representations => [], :show_in_menu => true, :copyable => true, :has_own_feed => false, :children_can_be_sorted => true, :has_own_content_box => false, :tree_loader_name => 'nodes', :controller_name => nil, # Defaults to content_class.table_name :show_content_box_header => true, :has_import => false, :has_sync => false, :has_edit_items => false }
Class Method Summary (collapse)
Class Method Details
+ (Object) included(base)
3 4 5 |
# File 'lib/acts_as_content_node.rb', line 3 def self.included(base) base.extend(ClassMethods) end |