Forum: Ruby on Rails Router :requirements

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Fresh M. (Guest)
on 2009-03-27 10:36
How to make ":requirements" for router parameter that accept any string
/ any character? 'search/:word', :controller => 'search', :requirements => {
:word => ???? }

By default it doesn't accept "dot" in search word, so: returns Error 404 page not
Fresh M. (Guest)
on 2009-03-28 18:08
Help ?
Agustin V. (Guest)
on 2009-03-28 18:20
(Received via mailing list)
At this casts you can see an example:

On Sat, Mar 28, 2009 at 1:08 PM, Fresh M.
This topic is locked and can not be replied to.