# File app/controllers/proposals_controller.rb, line 190
  def delete_document
    redirect_to :action => :show, :id => @proposal
    return true unless request.post?
    if @document.destroy
      flash[:notice] << _('The document was successfully deleted')
    else
      flash[:error] << _('Error removing requested document. Please try ' +
                         'again later, or contact the system administrator.')
    end
  end