Instantly share code, notes, and snippets.
def destroy @message = Message.find(params[:id]) @message.destroy redirect_to_messages_home() end