[#101] Change the help link to point to the version's wiki page
This commit is contained in:
parent
e04513ed23
commit
69cfe74d4b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue