license_helper.rb 262 Bytes
module LicenseHelper
  def self.getListLicenses
    licenses = LicenseInfo.select{|license| license.version != "Another"}
    licenses
  end

  def self.getAnotherLicense
    license_another = LicenseInfo.find_by_version("Another")
    license_another
  end
end