diff options
author | Patrick Davey <patrick.davey@resolvedigital.co.nz> | 2013-10-17 08:55:13 +1300 |
---|---|---|
committer | Patrick Davey <patrick.davey@resolvedigital.co.nz> | 2013-10-17 08:55:51 +1300 |
commit | 32bc0bb0e3adb0a3ce025724b51b7d413a554e27 (patch) | |
tree | 7f34da0539a212a885294ded919d74cbaae75f91 /app | |
parent | 5ae082d79e554d3449083aa70ef64ef5d677759a (diff) | |
download | refinerycms-blog-32bc0bb0e3adb0a3ce025724b51b7d413a554e27.tar.gz refinerycms-blog-32bc0bb0e3adb0a3ce025724b51b7d413a554e27.tar.bz2 refinerycms-blog-32bc0bb0e3adb0a3ce025724b51b7d413a554e27.zip |
Restricting tags to live posts
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/refinery/blog/controller_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/refinery/blog/controller_helper.rb b/app/helpers/refinery/blog/controller_helper.rb index 87d5447..edbf934 100644 --- a/app/helpers/refinery/blog/controller_helper.rb +++ b/app/helpers/refinery/blog/controller_helper.rb @@ -19,7 +19,7 @@ module Refinery end def find_tags - @tags = Refinery::Blog::Post.tag_counts_on(:tags) + @tags = Refinery::Blog::Post.live.tag_counts_on(:tags) end def find_all_blog_categories @categories = Refinery::Blog::Category.translated |