def create
  @author = Author.new(params[:author])
  if @author.save
    flash[:notice] = 'An author was successfully created.'
    redirect_to :action => 'list'
  else    
    flash[:notice] = 'Failed to create an author.'
    render :action => 'new'
  end
end