view plugins/redmine_checkout/lib/checkout_helper.rb @ 1350:bb6e7589720e luisf

Removes duplicate code introduced when integrating with redmine-2.2
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 12 Jul 2013 12:33:21 +0100
parents b4b72f1eb644
children
line wrap: on
line source
module CheckoutHelper
  class <<self
    def supported_scm
      Object.const_defined?("REDMINE_SUPPORTED_SCM") ? REDMINE_SUPPORTED_SCM : Redmine::Scm::Base.all
    end
  end
end