leaguevine / leaguevine-ultistats

MIT License
18 stars 4 forks source link

Creating a team is not working properly #29

Closed mliu7 closed 12 years ago

mliu7 commented 12 years ago

On the create team page, clicking save to create a new team does not create the team. I am watching the server logs and it shows that the OPTIONS request is sent (this is correct and is done before sending the POST request) but then it fails and is immediately redirect to the teams page:

[30/Mar/2012 21:02:04] "OPTIONS /v1/teams/18699/ HTTP/1.1" 200 0 [30/Mar/2012 21:02:04] "GET /?name=test&info= HTTP/1.1" 200 916

From these logs, we can also see that it is sending the request to the wrong URL. It is sending it to the team detail URL instead of the team create URL. This is likely the source of the problem.

*Note, this issue has been updated since I first posted it because my first post was way off target.