Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
69cfe74d
Commit
69cfe74d
authored
Feb 24, 2011
by
Eric Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#101
] Change the help link to point to the version's wiki page
parent
e04513ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
info.rb
lib/redmine/info.rb
+3
-1
version.rb
lib/redmine/version.rb
+3
-0
No files found.
lib/redmine/info.rb
View file @
69cfe74d
...
...
@@ -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
...
...
lib/redmine/version.rb
View file @
69cfe74d
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment