diff options
Diffstat (limited to 'app/views/refinery/blog/posts')
-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 --> |