diff options
author | Jeff Shumate <jeff@catapulsion.net> | 2012-01-25 21:45:21 -0700 |
---|---|---|
committer | Jeff Shumate <jeff@catapulsion.net> | 2012-01-25 21:45:21 -0700 |
commit | be73028ee871ffbc05fff474cd44615134c18ab0 (patch) | |
tree | 2f366fa19f5a55ff267838e469e0e226ed0be5fb /app | |
parent | 5eab0be3405fd170e79d9cf46c99c68acf1899f8 (diff) | |
download | refinerycms-blog-be73028ee871ffbc05fff474cd44615134c18ab0.tar.gz refinerycms-blog-be73028ee871ffbc05fff474cd44615134c18ab0.tar.bz2 refinerycms-blog-be73028ee871ffbc05fff474cd44615134c18ab0.zip |
fix issue 175
Diffstat (limited to 'app')
-rw-r--r-- | app/views/refinery/blog/posts/_nav.html.erb | 4 |
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) + " »").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 ("« " + 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 --> |