aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/posts_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/refinery/blog/posts_controller.rb')
-rw-r--r--app/controllers/refinery/blog/posts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/refinery/blog/posts_controller.rb b/app/controllers/refinery/blog/posts_controller.rb
index 2e504f7..8a9490f 100644
--- a/app/controllers/refinery/blog/posts_controller.rb
+++ b/app/controllers/refinery/blog/posts_controller.rb
@@ -78,7 +78,7 @@ module Refinery
def tagged
@tag = ActsAsTaggableOn::Tag.find(params[:tag_id])
@tag_name = @tag.name
- @posts = Post.live.tagged_with(@tag_name).page(params[:page])
+ @posts = Post.live.newest_first.uniq.tagged_with(@tag_name).page(params[:page])
end
private