Sha256: 5a0dd9ba7c1c5a20fe0ef3185a50c410684546613d51387923a1f63406f8fd2a
Contents?: true
Size: 955 Bytes
Versions: 30
Compression:
Stored size: 955 Bytes
Contents
module Shop module Interface module Orders def self.included(base) base.send :include, InstanceMethods end module InstanceMethods attr_accessor :orders protected def load_default_shop_orders_regions returning OpenStruct.new do |orders| orders.edit = Radiant::AdminUI::RegionSet.new do |edit| edit.main.concat %w{head form popups} edit.form.concat %w{inputs meta parts foot} edit.foot.concat %w{buttons timestamp} end orders.new = orders.edit orders.index = Radiant::AdminUI::RegionSet.new do |index| index.head.concat %w{} index.body.concat %w{price status updated customer} index.foot.concat %w{buttons pagination} end orders.remove = orders.index end end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems