davidchambers/tutor — pull request #18 by pcastellazzi (2012-07-19 11:25:39+00:00)
Title: Better /language, Bug fixes, Client side caching

I been working a little more in tutor. This pull request includes the following changes:

- a better language representation
- card_name is now name, to be coherent with the main representation
- instead of language literalas (like chinese, japanese, etc), i used ISO language/cultural codes
- /language is now a hash instead of an array to make a look up for a specific language easier

- there is a fix for flavor_text_attribution when the flavor mark is other than \u2014, it applies to chinese and japanese specifically.

- Cache-Control header is now added to json responses,