Sha256: 59d658c9a3729245d537b553cdb886dea6800bab8682d511fe8a1a2602cf048d
Contents?: true
Size: 301 Bytes
Versions: 16
Compression:
Stored size: 301 Bytes
Contents
module Administrate class CustomDashboard include Administrate class << self def resource_name(_opts) named_resource.pluralize.titleize end def resource(resource_name) define_singleton_method(:named_resource) { resource_name } end end end end
Version data entries
16 entries across 16 versions & 2 rubygems