Sha256: 2a129b70368e5070efaf922663bfc643970cbc3a883f46066763cdb764c3408d
Contents?: true
Size: 550 Bytes
Versions: 10
Compression:
Stored size: 550 Bytes
Contents
# frozen_string_literal: true module Decidim module Core module HasPublishableInputSort 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 end end end
Version data entries
10 entries across 10 versions & 1 rubygems