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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ben S. (Guest)
on 2005-12-22 00:48
I keep all of my admin controllers in /admin, and I want 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 the URL is changed to:

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