Module: Decidim::Core::HasPublishableInputSort
- Included in:
- ParticipatorySpaceInputSort
- Defined in:
- app/types/decidim/core/has_publishable_input_sort.rb
Class Method Summary collapse
Class Method Details
.included(child_class) ⇒ Object
6 7 8 9 10 |
# File 'app/types/decidim/core/has_publishable_input_sort.rb', line 6 def self.included(child_class) child_class.argument :published_at, String, "Sort by date of publication, valid values are ASC or DESC", required: false # child_class.argument :created_at, String, "Sort by date of creation, valid values are ASC or DESC", required: false # child_class.argument :updated_at, String, "Sort by date of last modification, valid values are ASC or DESC", required: false end |