add link to delete meeting, fix edit meeting
add paperclip set_content_type processing to set the correct content type for pdf upload
fix MIME::Types.type_for return an array instead of an object. So must refer to the first element before getting to content_type
We're calling before_post_processing, so the file is not uploaded yet, so self.file_name is nil. Thus we must use self.queued_for_write[:original].file_name. Refer to https://github.com/thoughtbot/paperclip/blob/965fce936aae4f08a86a84552348c3c140c38ea0/lib/paperclip/attachment.rb
Since we use before_post_processing, the file is not uploaded yet and self.file_name is nil. Thus, we must use self.queued_for_write[:original].file_name. Refer to https://github.com/thoughtbot/paperclip/blob/965fce936aae4f08a86a84552348c3c140c38ea0/lib/paperclip/attachment.rb
fix typo. Must be self.upload.queued_for_write[:original].file_name
fix typo
change s3 header content-disposition to attachment. So the file will be downloaded instead of displayed in browser
add miscellaneous info, link