# File app/controllers/proposals_controller.rb, line 88
  def author_delete
    redirect_to :action => :authors, :id => @proposal
    return true unless request.post?

    auth = Authorship.find_by_id(params[:authorship_id].to_i)
    unless auth and @proposal.authorships.include? auth
      flash[:error] << _('Requested author does not exist or is not listed ' +
                         'in this proposal. Maybe you already deleted him?')
      return false
    end

    if @proposal.authorships.delete(auth) and @proposal.save
      flash[:notice] << _('Requested author (%s) was successfully removed ' +
                          'from this proposal') % auth.person.name
    else
      flash[:error] << _('Unexpected error removing requested author. Please ' +
                         'try again, or contact system administrator')
    end
  end