Merge pull request #153 from xdite/refactor_topic_show_again

use helper again
This commit is contained in:
Robin Ward
2013-02-15 07:19:01 -08:00
2 changed files with 2 additions and 5 deletions

View File

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