Sha256: e55b56c8f33de7e4ecec21435aec9dab0fcc2b7abbab4303c86b257fc15d25d8
Contents?: true
Size: 648 Bytes
Versions: 114
Compression:
Stored size: 648 Bytes
Contents
class Gemini::LoanProgramView < Marty::GridAppendOnly include Marty::Extras::Layout has_marty_permissions create: :dev, read: :any, update: :dev, delete: :dev def configure(c) super c.title = "Loan Programs" c.model = "Gemini::LoanProgram" c.attributes = [ :name, :amortization_type__name, :mortgage_type__name, :streamline_type__name, :enum_state, ] c.store_config.merge!({sorters: [{property: :name, direction: 'ASC'}]}) end attribute :enum_state do |c| enum_column(c, Gemini::EnumState) end end
Version data entries
114 entries across 114 versions & 1 rubygems