From b7894a900b3f893d260af9159c49f6f7aa78bd50 Mon Sep 17 00:00:00 2001 From: David Jones Date: Tue, 31 May 2011 13:52:30 +1200 Subject: fixed issue where the tags heading was showing up even though there are no tags --- app/views/blog/shared/_tags.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/blog/shared/_tags.html.erb b/app/views/blog/shared/_tags.html.erb index f8833f1..140e60e 100644 --- a/app/views/blog/shared/_tags.html.erb +++ b/app/views/blog/shared/_tags.html.erb @@ -1,4 +1,4 @@ -<% unless @tags.nil? %> +<% if @tags.any? %>

<%= t('.title') %>