Commit Graph

9 Commits

Author SHA1 Message Date
Thor77 2b72d0457e Implement type parameter for tournaments index 2019-04-24 22:49:48 +02:00
Thor77 08d2ae59a5 Check teams array before calling create method 2019-04-16 13:24:58 +02:00
Thor77 a2e35e1710 Create teams with only name attribute 2019-04-08 11:16:51 +02:00
Thor77 ec4e2797c2
Call tournament generation for create endpoint
and associate given team ids with the new tournament
2019-04-07 19:24:17 +02:00
Thor77 e78de72f3d
Fix id and model logged as unpermitted params
by slicing selected attributes from params and permitting them all.
2019-04-07 16:09:59 +02:00
Thor77 8b07c46acd
Permit parameters without root key 2019-04-07 14:00:06 +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
Thor77 5076197f78 Recursively include all relations for a tournament 2018-12-11 17:12:55 +01:00
Thor77 e81ef81150
Add TournamentsController 2018-11-25 22:55:48 +01:00