annotate plugins/redmine_checkout/lib/checkout_helper.rb @ 1149:719d597874fc redmine-2.2-integration

Fixes broken route in projects index.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 14 Jan 2013 17:45:54 +0000
parents b4b72f1eb644
children
rev   line source
Chris@16 1 module CheckoutHelper
Chris@16 2 class <<self
Chris@16 3 def supported_scm
Chris@16 4 Object.const_defined?("REDMINE_SUPPORTED_SCM") ? REDMINE_SUPPORTED_SCM : Redmine::Scm::Base.all
Chris@16 5 end
Chris@16 6 end
Chris@16 7 end