diff options
author | David Jones <dgjones@gmail.com> | 2011-05-31 13:52:30 +1200 |
---|---|---|
committer | David Jones <dgjones@gmail.com> | 2011-05-31 13:52:30 +1200 |
commit | b7894a900b3f893d260af9159c49f6f7aa78bd50 (patch) | |
tree | 6811ffd7af02463e51aa293a700caece7f0ebab5 /app/views | |
parent | 92e128d2fbd049c62389598a6c97e6ffd400e2e9 (diff) | |
download | refinerycms-blog-b7894a900b3f893d260af9159c49f6f7aa78bd50.tar.gz refinerycms-blog-b7894a900b3f893d260af9159c49f6f7aa78bd50.tar.bz2 refinerycms-blog-b7894a900b3f893d260af9159c49f6f7aa78bd50.zip |
fixed issue where the tags heading was showing up even though there are no tags
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/blog/shared/_tags.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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? %> <h2><%= t('.title') %></h2> <nav id='tags'> <% tag_cloud(@tags, %w(tag1 tag2 tag3 tag4)) do |tag, css_class| %> |