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

Version Path
six-updater-web-0.24.15 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.14 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.13 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.12 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.11 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.10 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.9 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.8 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.7 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.6 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.5 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.4 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.3 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.2 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.1 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.24.0 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.23.7 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.23.6 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.23.5 lib/six-updater-web/app/helpers/appsettings_helper.rb
six-updater-web-0.23.4 lib/six-updater-web/app/helpers/appsettings_helper.rb