Sha256: 23cae18267191c38fc425b9cd7faa8f0382a15f6aecfb0eecd3dd85ea6543cb0
Contents?: true
Size: 415 Bytes
Versions: 9
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true module Decidim module Core module HasTimestampInputSort def self.included(child_class) 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
9 entries across 9 versions & 1 rubygems