Question:"no route found to match"

in my routes.rb, I have such url
map.file ':user/:file
it works well with following url:

  1. jay/web
  2. jay/web2
    but it encounters error with:
    it displays : no route found to match “/post/web2.o” with
    I guess it is because the char ‘.’ and rails can not translate it
    How can I fix it ?
    thank you

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs