Route adds ?admin.html to the end of my URL

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 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