Class: CamaleonCms::Widget::Assigned
- Inherits:
-
PostDefault
- Object
- ActiveRecord::Base
- CamaleonRecord
- PostDefault
- CamaleonCms::Widget::Assigned
- Defined in:
- app/models/camaleon_cms/widget/assigned.rb
Instance Attribute Summary
Attributes inherited from PostDefault
Instance Method Summary collapse
Methods inherited from PostDefault
#author, find_by_slug, #in_nav_menu_items, inherited, #parent, #set_params
Methods included from CustomFieldsRead
#add_custom_field_group, #add_custom_field_to_default_group, #get_field_groups, #get_field_object, #get_field_value, #get_field_values, #get_field_values_hash, #get_fields_grouped, #get_fields_object, #get_user_field_groups, #save_field_value, #set_field_value, #set_field_values, #update_field_value
Methods included from Metas
#delete_meta, #delete_option, #fix_save_metas_options_no_changed, #get_meta, #get_option, #options, #save_metas_options, #save_metas_options_skip, #set_meta, #set_metas, #set_option, #set_options
Methods inherited from CamaleonRecord
#cama_build_cache_key, #cama_fetch_cache, #cama_get_cache, #cama_remove_cache, #cama_set_cache
Instance Method Details
#fix_slug2 ⇒ Object
23 24 25 |
# File 'app/models/camaleon_cms/widget/assigned.rb', line 23 def fix_slug2 self.slug = 'slug_assigned' if slug.blank? end |