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

    if @proposal.people.include? @person
      flash[:notice] << _('The requested author (%s) was already registered ' +
                          'as an author for this proposal') % @person.name
      return true 
    end

    unless auth = Authorship.new(:proposal => @proposal, 
                                 :person => @person) and
        auth.save
      flash[:error] << (_('Error adding person (%s) to requested proposal: ') % 
                        @person.name) +
        auth.errors.full_messages.join('<br/>')
      return false
    end

    flash[:notice] << _('%s was successfully added as an author to this ' +
                       'proposal') % @person.name

    Notification.deliver_added_as_coauthor(@person, @proposal, @user)
  end