OSDN Git Service

Status code 400 returned if title not given in a milestone (via API)
authorSebastian Ziebell <sebastian.ziebell@asquera.de>
Wed, 6 Feb 2013 14:03:05 +0000 (15:03 +0100)
committerSebastian Ziebell <sebastian.ziebell@asquera.de>
Wed, 6 Feb 2013 16:10:29 +0000 (17:10 +0100)
commit5be0265fe7e82a127e9fd2805e81e4e40f5e3c5f
tree84b2cf93fd19aa260347cda54e521fb9e6b9a9e5
parent41e93bbfe23b3791d1b440dd3961d4fadfbb8461
Status code 400 returned if title not given in a milestone (via API)

If a milestone is created via API but no title given then status code 400 (Bad request)
is returned instead of 404. A small helper method handles the errors collection of a
milestone.
lib/api/milestones.rb