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