Fixes: Bug concatenating string URL with integer id

This commit is contained in:
Robin Ward 2013-02-11 16:18:15 -05:00
parent 74220b4194
commit 7746a4576d
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@ module TopicsHelper
end
def render_topic_next_page_link(topic, next_page)
link_to("next page", topic.relative_url + "?page=" + next_page )
link_to("next page", "#{topic.relative_url}?page=#{next_page}")
end
end