annotate lib/redmine/.svn/text-base/info.rb.svn-base @ 418:a9921f3e9088 bug_133

Use all with ordering instead of sort_by for projects (fixes #133)
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 10 May 2011 11:39:27 +0100
parents 513646585e45
children
rev   line source
Chris@0 1 module Redmine
Chris@0 2 module Info
Chris@0 3 class << self
Chris@0 4 def app_name; 'Redmine' end
Chris@0 5 def url; 'http://www.redmine.org/' end
Chris@0 6 def help_url; 'http://www.redmine.org/guide' end
Chris@0 7 def versioned_name; "#{app_name} #{Redmine::VERSION}" end
Chris@0 8
Chris@0 9 # Creates the url string to a specific Redmine issue
Chris@0 10 def issue(issue_id)
Chris@0 11 url + 'issues/' + issue_id.to_s
Chris@0 12 end
Chris@0 13 end
Chris@0 14 end
Chris@0 15 end