From da581331c706f46dfd119d1e532152c93fdd8c58 Mon Sep 17 00:00:00 2001 From: Joe Sak Date: Sat, 20 Nov 2010 15:38:28 -0600 Subject: total refactor here --- app/views/blog/posts/_post.html.erb | 7 ++++++- app/views/blog/posts/show.html.erb | 5 ----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'app/views/blog') diff --git a/app/views/blog/posts/_post.html.erb b/app/views/blog/posts/_post.html.erb index f34091a..c5e90bb 100644 --- a/app/views/blog/posts/_post.html.erb +++ b/app/views/blog/posts/_post.html.erb @@ -20,4 +20,9 @@ <% if BlogPost::ShareThis.enabled? %> <% end %> - \ No newline at end of file + +<% if next_or_previous?(@blog_post) -%> + +<% end -%> \ No newline at end of file diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb index d277ef5..1c725d5 100644 --- a/app/views/blog/posts/show.html.erb +++ b/app/views/blog/posts/show.html.erb @@ -10,11 +10,6 @@ <% content_for :body_content_left do %>
<%= render 'post' %> - <% if next_or_previous?(@blog_post) -%> - - <% end -%>
<% if BlogPost.comments_allowed? %> -- cgit v1.2.3