unknown action with will_paginate
In my users controller I have this in a me开发者_开发技巧thod:
@users = User.paginate :page => params[:page], :per_page => 10,
The results are rendered on users/search. The 2nd page link points to users/search?page=2, but it leads to an unknown action error.
Possibly there is something wrong in routes.rb, so you haven't got :search=>:get
rout
精彩评论