[#101] Change the help link to point to the version's wiki page

This commit is contained in:
Eric Davis 2011-02-24 14:51:33 -08:00
parent e04513ed23
commit 69cfe74d4b
2 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,9 @@ module Redmine
class << self
def app_name; 'ChiliProject' end
def url; 'https://www.chiliproject.org/' end
def help_url; 'https://www.chiliproject.org/guide' end
def help_url
"https://www.chiliproject.org/help/v#{Redmine::VERSION.to_semver}"
end
def versioned_name; "#{app_name} #{Redmine::VERSION}" end
# Creates the url string to a specific Redmine issue

View File

@ -42,5 +42,8 @@ module Redmine
def self.to_a; ARRAY end
def self.to_s; STRING end
def self.to_semver
[MAJOR, MINOR, PATCH].join('.')
end
end
end