app/controllers/contacts_controller.rb in tkh_content-0.9.10 vs app/controllers/contacts_controller.rb in tkh_content-0.9.11

- old
+ new

@@ -45,10 +45,10 @@ # Actually send the email to the student begin ContactMailer.message_from_contact_form(contact).deliver return 'success' rescue Exception => e - AdminMailer.rescued_exceptions(e, "Some exception occurred while trying to send a student his confirmation for registering in a course. The email was never sent!").deliver + AdminMailer.rescued_exceptions(e, "Some exception occurred while trying to send to site admin a message from contact form").deliver @exception = e return 'exception' end else # for invalid or blank emails return 'invalid'