really fix issue 175 path error in _nav

This commit is contained in:
Jeff Shumate 2012-01-25 22:00:56 -07:00
parent be73028ee8
commit f62ad53f8f

View file

@ -1,7 +1,7 @@
<nav id="next_prev_article"> <nav id="next_prev_article">
<% if @post.next.present? -%> <% if @post.next.present? -%>
<%= link_to (truncate(@post.next.title) + " &#187;").html_safe, <%= link_to (truncate(@post.next.title) + " &#187;").html_safe,
main_app.refinery_blog_post_path(@post.prev), main_app.refinery_blog_post_path(@post.next),
:class => 'next' %> :class => 'next' %>
<% end -%> <% end -%>