From a214b9e7168890ce52c3336350663669cb938ce5 Mon Sep 17 00:00:00 2001 From: Joe Sak Date: Sat, 20 Nov 2010 11:35:08 -0600 Subject: Added Next, Previous Article & Home navigation --- app/views/blog/posts/show.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/views/blog') diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb index f8d4b35..6d11197 100644 --- a/app/views/blog/posts/show.html.erb +++ b/app/views/blog/posts/show.html.erb @@ -31,6 +31,13 @@ <% end %> + <% if next_or_previous?(@blog_post) -%> + + <% end -%> <% if BlogPost.comments_allowed? %>