summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-25 09:05:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-25 09:05:52 +0000
commit7dd05eeb294329d4b919cf37155ad53af7668790 (patch)
tree523a4a54b91d174cd3abe373560e42260e0b3da2
parentfc7652d803d07ce6b4f06f172a6da5afbc41c14a (diff)
downloadredmine-7dd05eeb294329d4b919cf37155ad53af7668790.tar.gz
redmine-7dd05eeb294329d4b919cf37155ad53af7668790.zip
Add code doc for forum & news links (#26188).
Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16693 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/application_helper.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 5c2f7e735..41a8056e8 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -816,11 +816,19 @@ module ApplicationHelper
# source:some/file#L120 -> Link to line 120 of the file
# source:some/file@52#L120 -> Link to line 120 of the file's revision 52
# export:some/file -> Force the download of the file
+ # Forums:
+ # forum#1 -> Link to forum with id 1
+ # forum:Support -> Link to forum named "Support"
+ # forum:"Technical Support" -> Link to forum named "Technical Support"
# Forum messages:
# message#1218 -> Link to message with id 1218
# Projects:
# project:someproject -> Link to project named "someproject"
# project#3 -> Link to project with id 3
+ # News:
+ # news#2 -> Link to news item with id 1
+ # news:Greetings -> Link to news item named "Greetings"
+ # news:"First Release" -> Link to news item named "First Release"
# Users:
# user:jsmith -> Link to user with login jsmith
# @jsmith -> Link to user with login jsmith