From 7746a4576db5be346b7d697a5e6da4b562779e09 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 11 Feb 2013 16:18:15 -0500 Subject: [PATCH] Fixes: Bug concatenating string URL with integer id --- app/helpers/topics_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/topics_helper.rb b/app/helpers/topics_helper.rb index 96ec460ccd5..978b118d5b1 100644 --- a/app/helpers/topics_helper.rb +++ b/app/helpers/topics_helper.rb @@ -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