Skip to content

Commit

Permalink
Merge branch 'release/0.5.1_patch.1'
Browse files Browse the repository at this point in the history
* release/0.5.1_patch.1:
  #367 sorting years
  • Loading branch information
kalashnikovisme committed Dec 10, 2015
2 parents 25c2943 + 0b5c67b commit da9a142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/web/articles/shared/_confessions.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- confessions = ActivityLines::Corporative::Confession.confirmed
- years = confessions.map(&:year).uniq
- years = confessions.map(&:year).uniq.sort { |x, y| y <=> x }
.confessions
.years
- years.each do |year|
Expand Down

0 comments on commit da9a142

Please sign in to comment.