Sha256: 21e7170ebba70d19ccd7e4a52852b7d45b712afd976cba2422ff3edd2bd4276a
Contents?: true
Size: 620 Bytes
Versions: 47
Compression:
Stored size: 620 Bytes
Contents
module AppsettingsHelper def path_column(record, b = nil) record.real_path end def exe_column(record, b = nil) record.real_exe end def params_column(record, b = nil) record.real_params end def logpath_column(record, b = nil) record.real_logpath end def type_column(record, b = nil) record.class.label end def type_form_column(record, t, options) collection_select(:record, :type, ["Arma2Appsetting", "Arma2StAppsetting", "Arma2OaAppsetting", "Arma2OaStAppsetting", "Arma2OaCoAppsetting"], :to_s, :to_s, {}, {:name => options[:name]}) end end
Version data entries
47 entries across 47 versions & 1 rubygems