Mercurial > hg > soundsoftware-site
diff lib/redmine/.svn/text-base/info.rb.svn-base @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/redmine/.svn/text-base/info.rb.svn-base Fri Jul 23 15:52:44 2010 +0100 @@ -0,0 +1,15 @@ +module Redmine + module Info + class << self + def app_name; 'Redmine' end + def url; 'http://www.redmine.org/' end + def help_url; 'http://www.redmine.org/guide' end + def versioned_name; "#{app_name} #{Redmine::VERSION}" end + + # Creates the url string to a specific Redmine issue + def issue(issue_id) + url + 'issues/' + issue_id.to_s + end + end + end +end