ROR new action error Couldn't find Post with ID=nexttwentyfive
I am getting an error where it thinks my action is post id?

 URL http://localhost:3000/posts/nexttwentyfive?lastid=1

<code>
  def nexttwentyfive
   @posts = Post.find(:all, :order => "date", :limit => 25, :conditions => ["id=? AND created_at > ?", Time.now, params[:lastid]])
   
      respond_to do |format|
       format.html
       format.xml  { render :xml => @post } 
       format.json { render :json => @post }
     end
    end 
    
    map.resources :posts, :collection => { :nexttwentyfive => :get  } 

    
</code>


ROR new action error Couldn't find Post with ID=nexttwentyfive
===

I am getting an error where it thinks my action is post id?

 URL http://localhost:3000/posts/nexttwentyfive?lastid=1

<code>
  def nexttwentyfive
   @posts = Post.find(:all, :order => "date", :limit => 25, :conditions => ["id=? AND created_at > ?", Time.now, params[:lastid]])
   
      respond_to do |format|
       format.html
       format.xml  { render :xml => @post } 
       format.json { render :json => @post }
     end
    end 
    
    map.resources :posts, :collection => { :nexttwentyfive => :get  } 

    
</code>

