Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Schädler e04d3c1c2e Call populate_match_below when a match is finished 2019-05-12 19:12:42 +02:00
Daniel Schädler a812e7103d Change status of Match to only represent being finished
The winner will be a attribute of the Match instead of something
that is written in its status.
2019-05-12 19:12:42 +02:00
Thor77 27c4bcacc8
Respond with 501 for state param 'finished'
(501 = NOT IMPLEMENTED)
2019-05-07 18:41:53 +02:00
Thor77 3876f57d32
Add methods and specs to update a match 2019-05-07 18:41:53 +02:00
Thor77 436adde706
Set global match var for reuse by other methods 2019-05-07 18:41:52 +02:00
Thor77 32c012af32 Use plain params-hash instead of custom helper
for deserialization of create/update-data
2018-12-11 17:12:55 +01:00
Daniel Schädler 68f9b3b2b3 Change Score to MatchScore & MatchScore score attribute to points
This is done to improve the naming and therefore make things easier to understand.
2018-11-30 14:15:48 +01:00
Thor77 0a583ebe53
Remove unused match_params 2018-11-25 22:55:49 +01:00
Thor77 6c24180715 Add MatchesController and specs for it 2018-11-21 18:57:16 +01:00