fixed sorting of statements

This commit is contained in:
2017-04-21 16:31:05 +02:00
parent 9c6414477d
commit 6b7feefa16
+1 -1
View File
@@ -1,4 +1,4 @@
- supporters = Supporter.where('publicity.state' => :approved).desc(:created_at) - supporters = Supporter.where('publicity.state' => :approved).desc('publicity.created_at')
h1 = title t('.title') h1 = title t('.title')
- supporters.each do |supporter| - supporters.each do |supporter|