anirudh-eka/haiku_app — pull request #7 by anirudh-eka (2013-10-19 22:28:31+00:00)
Title: Make poem controller api

This merge removed the snap and unsnap actions and added the update action to the poem controller api. This allows for more restful requests to be sent from the client (backbone) to the serve. Now when the snap button is clicked it adds one to the poem count and sends a put request to the update action in the poem controller.

Creating or destroying a snap object will now be handled by a snap controller that accepts a create, and destroy action, respectively. It is yet to be made.