Skip to content

Commit 5531e9d

Browse files
committed
Oooops. Fix editor chaos.
1 parent e268351 commit 5531e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/donation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def total
1010
sum(:amount).to_f / 100
1111
end
1212

13-
astats
13+
def stats
1414
{ total: connection.select_value('SELECT SUM(amount) FROM donations') }
1515
end
1616

0 commit comments

Comments
 (0)