summaryrefslogtreecommitdiffstats
path: root/app/helpers/messages_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-06 12:54:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-06 12:54:13 +0000
commit8fb29d4d211ac09549cf47fad764b56c9173e938 (patch)
treec8d2602d42bda89397d75aa0344f2b47dcf7cc4b /app/helpers/messages_helper.rb
parent2ad8242ae782ea9d87a0d98f8563199da736bdc7 (diff)
downloadredmine-8fb29d4d211ac09549cf47fad764b56c9173e938.tar.gz
redmine-8fb29d4d211ac09549cf47fad764b56c9173e938.zip
Adds pagination to forum messages (#4664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3373 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/messages_helper.rb')
-rw-r--r--app/helpers/messages_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/messages_helper.rb b/app/helpers/messages_helper.rb
index 034d1ad31..ed58ad796 100644
--- a/app/helpers/messages_helper.rb
+++ b/app/helpers/messages_helper.rb
@@ -23,6 +23,7 @@ module MessagesHelper
:action => 'show',
:board_id => message.board_id,
:id => message.root,
+ :r => (message.parent_id && message.id),
:anchor => (message.parent_id ? "message-#{message.id}" : nil)
end
end