I'm building an application that stores links, but i've run into a
problem with routing. If my routes.rb looks like this:
map.widget '/widget/show/:url', :controller => "widget", :action =>
then when i go to /widget/show/www.example.com then i get an error. If
i change the route to:
map.widget '/widget/show', :controller => "widget", :action => "show"
and i enter in /widget/show?url=www.example.com then everything works
great, but i'm currious if there is anything i can do to make the first
routing method work?