meltar/ChallengeChampion — pull request #41 by meltar (2014-06-21 02:38:43+00:00)
Title: Add 'respond_to' and 'respond_with' to controllers

- Add `respond_to` and `respond_with` to controller definitions
- All of the routes that used to return a variable will now respond
with json or html depending on the request.
- Some of the endpoints return more than one thing, but I wanted to
make this change without breaking the current views.

:sparkles: @KyFaSt, now we can build a Javascript front end :sparkles: