Commit 69cfe74d authored by Eric Davis's avatar Eric Davis

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

parent e04513ed
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment