Module: ConcurrentDraft::Tags
- Includes:
- Radiant::Taggable
- Defined in:
- lib/concurrent_draft/tags.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/concurrent_draft/tags.rb', line 4 def self.included(base) base.class_eval do alias_method "tag:old_content", "tag:content" alias_method "tag:content", "tag:concurrent_draft_content" if defined?(SnippetsExtension) alias_method "tag:old_snippet", "tag:snippet" alias_method "tag:snippet", "tag:concurrent_draft_snippet" end end end |