search for: post_index

Displaying 1 result from an estimated 1 matches for "post_index".

Did you mean: opt_index
2009 Dec 07
1
routing requirements quick question
Hi everyone, first e-mail here :) I have the following in my routes.rb file. map.connect ''posts/index/:page'', :controller => ''posts'', :action => ''index'', :requirements => {:page => /\d+/ }, :page => nil end Does :requirements => {:page => /\d+/ } mean that if the :page