Class: Cms::Tagging
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Cms::Tagging
- Extended by:
- DefaultAccessible
- Defined in:
- app/models/cms/tagging.rb
Instance Method Summary collapse
-
#content_type ⇒ Object
attr_accessible :tag, :taggable.
Methods included from DefaultAccessible
non_permitted_params, permitted_params
Instance Method Details
#content_type ⇒ Object
attr_accessible :tag, :taggable
9 10 11 |
# File 'app/models/cms/tagging.rb', line 9 def content_type Cms::ContentType.first(:conditions => {:name => taggable_type}) end |