Displaying 1 result from an estimated 1 matches for "routebuild".
Did you mean:
routebuilder
2008 Jan 11
0
how do I get rid of this routing warning?
...=> {:path => /.+/, :page=>/\d+/},
:page =>1
warning is
"Route segment ":page" cannot be optional because it precedes a
required segment. This segment will be required."
I don''t understand how :page is optional?
Been googling and reading the code of RouteBuilder but I''ve been
unable to figure it out.
Rails 1.2.6
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3...