jhm15217/worthreading — pull request #1 by mvillena3 (2012-07-06 14:24:29+00:00)
Title: Email post response

Hey Jim,

This is a pull request. This is how I can indicate that there is code that I would like to add/remove/change on our master branch. To check the changes you can click on the link that says diff above this description.

In this particular pull, I forgot to add a response to the action: create in the emails controller. The POST request will return a server error to Mailgun that the email hasn't been received unless I include a redirect or render some view. The email will be received by the app but because no response is returned, mailgun will assume the email wasn't received and will retry several times. Thus, it will result in the same email being received several times. You will see the added `render text: 'Email' received'`. You can see that change in the diff file.

I also removed some empty files and folders I noticed in the repo.