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 => "show" 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? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

