summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine')
-rw-r--r--lib/redmine/info.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/redmine/info.rb b/lib/redmine/info.rb
index 0e00e8b85..e9106c42d 100644
--- a/lib/redmine/info.rb
+++ b/lib/redmine/info.rb
@@ -5,6 +5,11 @@ module Redmine
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