diff options
author | Philip Arndt <parndt@gmail.com> | 2012-01-25 20:53:10 -0800 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-01-25 20:53:10 -0800 |
commit | 79a7551e73c85cac63309820b3c8dc4fa17f2a1f (patch) | |
tree | 2f366fa19f5a55ff267838e469e0e226ed0be5fb /app/views/refinery | |
parent | 5eab0be3405fd170e79d9cf46c99c68acf1899f8 (diff) | |
parent | be73028ee871ffbc05fff474cd44615134c18ab0 (diff) | |
download | refinerycms-blog-79a7551e73c85cac63309820b3c8dc4fa17f2a1f.tar.gz refinerycms-blog-79a7551e73c85cac63309820b3c8dc4fa17f2a1f.tar.bz2 refinerycms-blog-79a7551e73c85cac63309820b3c8dc4fa17f2a1f.zip |
Merge pull request #183 from dmoose/fix-issue-175
Fix issue 175
Diffstat (limited to 'app/views/refinery')
-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 --> |