Skip to content

Commit

Permalink
uniq is not required
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Jun 3, 2010
1 parent d5b0bfc commit 4fc880e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def index
end
end

@recent_activity = @recent_activity.compact.uniq.sort { |x,y|
@recent_activity = @recent_activity.compact.sort { |x,y|
y.updated_at <=> x.updated_at
}.first(activity_show_limit=RefinerySetting.find_or_set(:activity_show_limit, 7))

Expand Down

0 comments on commit 4fc880e

Please sign in to comment.