Code style fixes

This commit is contained in:
Jyri-Petteri Paloposki 2020-10-10 02:27:42 +03:00
parent c6bbc67dab
commit d8acf60049
72 changed files with 458 additions and 594 deletions

View file

@ -1,7 +1,7 @@
module Stats
class Projects
attr_reader :user
def initialize(user)
@user = user
end
@ -24,6 +24,5 @@ module Stats
projects = user.projects.order('created_at ASC')
projects.sort_by{ |p| p.running_time }.reverse.take(10)
end
end
end