Module: DragOrder::Tags::Core
- Defined in:
- lib/drag_order/tags/core.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/drag_order/tags/core.rb', line 5 def self.included(base) base.class_eval do def (tag) = (tag) [:order].sub!(/published_at/i, 'position') unless tag.attr['by'] end alias_method_chain :children_find_options, :drag_order end end |