Simple Rails 4 API with jbuilder
I'm working on a web application that requires a few API endpoints for AJAX calls. I've recently discovered the jbuilder gem that is included when creating a Rails application (I had no clue of it before my search on returning structured JSON.).
I wanted a route structure similar to the