This is very weird behavior for rails.

1. When I visit my app

http://localhost:3000/admin/base/login

class Admin::BaseController < ApplicationController
  def login
    render :text => "running"
  end
end

2. but when I go here
http://localhost:3000/

I get error because login.html.erb not found

3. even though my route looks like this.

map.root :controller => "Admin::Base", :action => :login

Did any face this :S ?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to