Closed andela-aonyango closed 8 years ago
When I try to create a new meetup, I get this error: @andela-aonyango
This is still not working @andela-aonyango . Why?
@unicodeveloper, the issue, as I mentioned in a previous exchange, was that the environment variables (ADMIN_EMAILS) were not (automatically) set in the PR build. I've manually set them now but I don't know if the other PR builds will pick them up. The staging build has no issue.
So, it will work in this build but I don't know how subsequent builds will work.
Added a notification to indicate that the meetup creation was successful.
Like Dribbble, the meetup controller redirects the user to the FAQ page on success, and there's a notification letting them know that their actions were successful and that they will be contacted on approval.
Refactored the mail-sending portion of the meetup controller to make it clearer, as well as to separate the addressees clearly into the user creating the email and the admins who are CCed on every meetup creation.