Forum: Ruby on Rails Route adds ?admin.html to the end of my URL

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4582790b49e9cca7c2d24cbca567ee28?d=identicon&s=25 Ben Sinclair (bensinc)
on 2005-12-21 23:48
I keep all of my admin controllers in /admin, and I want
http://domain.com/admin to route to :controller => admin/login, and
:action => login.

I added map.connect '/admin', :controller => 'admin/login', :action =>
'login' to my routes, and it works great.

However, when I go to http://domain.com/admin the URL is changed to:
http://domain.com/admin/?admin.html

I have no idea what might cause this! Has anyone seen this before?
This topic is locked and can not be replied to.