aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/posts
diff options
context:
space:
mode:
authorJeff Shumate <jeff@catapulsion.net>2012-01-25 21:45:21 -0700
committerJeff Shumate <jeff@catapulsion.net>2012-01-25 21:45:21 -0700
commitbe73028ee871ffbc05fff474cd44615134c18ab0 (patch)
tree2f366fa19f5a55ff267838e469e0e226ed0be5fb /app/views/refinery/blog/posts
parent5eab0be3405fd170e79d9cf46c99c68acf1899f8 (diff)
downloadrefinerycms-blog-be73028ee871ffbc05fff474cd44615134c18ab0.tar.gz
refinerycms-blog-be73028ee871ffbc05fff474cd44615134c18ab0.tar.bz2
refinerycms-blog-be73028ee871ffbc05fff474cd44615134c18ab0.zip
fix issue 175
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 -->