Skip to content

Commit

Permalink
Fix typo. Likewise #470
Browse files Browse the repository at this point in the history
  • Loading branch information
biow0lf committed Jul 31, 2018
1 parent a5fb6b9 commit 5e5421c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/guides/1.0/models/sql-queries.md
Expand Up @@ -22,7 +22,7 @@ class UserRepository < Hanami::Repository
end

def alphabetical_reverse
users.order { name.asc }
users.order { name.desc }
end

def sort_via_other_relation
Expand Down

0 comments on commit 5e5421c

Please sign in to comment.