My "link_to" and "url_for" etc. methods are generating paths in the pattern of ":controller/:id/:action", instead of ":controller/:action:/:id" - in other words my "action" and "id" fields in the url are getting swapped.
I've narrowed it down to these generated links through doing some route debugging, however, I don't quite understand how the routes.rb file can say one thing, but the generated routes can be in a different order. Is there something more to this than the routes file alone?
*In case it matters, I'm also using authlogic to do my user authentication.
Here's my routes.rb file, with the comments removed.
map.resources :tags
map.resources :ratings
map.resources :users
map.resources :bids
map.resources :listings
map.resource :user_session
map.root :controller => "user_sessions", :action => "new"
map.resource :account, :controller => "users"
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
Thanks!