This is very weird behavior for rails.
- When I visit my app
http://localhost:3000/admin/base/login
class Admin::BaseController < ApplicationController
def login
render :text => “running”
end
end
- but when I go here
http://localhost:3000/
I get error because login.html.erb not found
- even though my route looks like this.
map.root :controller => “Admin::Base”, :action => :login
Did any face this :S ?