mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-07 16:24:21 +01:00
Code style fixes
This commit is contained in:
parent
c6bbc67dab
commit
d8acf60049
72 changed files with 458 additions and 594 deletions
|
|
@ -3,8 +3,8 @@
|
|||
# or completed since that cutoff will be included.
|
||||
module Stats
|
||||
class TopProjectsQuery
|
||||
|
||||
attr_reader :user, :cutoff
|
||||
|
||||
def initialize(user, cutoff = nil)
|
||||
@user = user
|
||||
@cutoff = cutoff
|
||||
|
|
@ -34,6 +34,5 @@ module Stats
|
|||
query << "ORDER BY count DESC "
|
||||
query << "LIMIT 10"
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue