Skip to content

Commit

Permalink
#4 victoire à 4 points à partir de 2013
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentSHB committed Oct 15, 2013
1 parent e302e42 commit 4f078db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/team.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_stats(competition)
points = 2
when "victoire"
hash[:victoires] += 1
points = 3
points = competition.year >= 2013 ? 4 : 3
when "defaite"
hash[:defaite] += 1
points = 1
Expand Down

0 comments on commit 4f078db

Please sign in to comment.