Sha256: be6fbd4c19caa13361cf7517d7c6038f71b039f276befb5554f7b96a9fe26f21
Contents?: true
Size: 623 Bytes
Versions: 18
Compression:
Stored size: 623 Bytes
Contents
module ActiveadminAddons extend self attr_writer :default_select, :datetime_picker_default_options, :datetime_picker_input_format def default_select return "select2" unless @default_select @default_select end def datetime_picker_default_options return {} unless @datetime_picker_default_options @datetime_picker_default_options end def datetime_picker_input_format return "%Y-%m-%d %H:%M" unless @datetime_picker_input_format @datetime_picker_input_format end def setup yield self require "activeadmin_addons" end end require_relative './activeadmin_addons/engine'
Version data entries
18 entries across 18 versions & 2 rubygems