aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/posts
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/refinery/blog/posts')
-rw-r--r--app/views/refinery/blog/posts/_nav.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/refinery/blog/posts/_nav.html.erb b/app/views/refinery/blog/posts/_nav.html.erb
index 8734638..9d0fd19 100644
--- a/app/views/refinery/blog/posts/_nav.html.erb
+++ b/app/views/refinery/blog/posts/_nav.html.erb
@@ -1,7 +1,7 @@
<nav id="next_prev_article">
<% if @post.next.present? -%>
<%= link_to (truncate(@post.next.title) + " &#187;").html_safe,
- main_app.url_for(@post.next),
+ main_app.refinery_blog_post_path(@post.prev),
:class => 'next' %>
<% end -%>
@@ -11,7 +11,7 @@
<% if @post.prev.present? -%>
<%= link_to ("&#171; " + truncate(@post.prev.title)).html_safe,
- main_app.url_for(@post.prev),
+ main_app.refinery_blog_post_path(@post.prev),
:class => 'prev' %>
<% end -%>
</nav><!-- /next_prev_article -->