On 16/01/11 11:23, Heinz Strunk wrote:
Yes it does, thanks Fidel!

Hi Hanz,

Also don't forget to create a route in your routes.rb file. In Rails 3, you map it like this:

root :to => "home#index"

In prior versions you do it like this:

map.root :controller => "home", :action => "index"

This will load your default controller with its respective action whenever you type http://localhost:3000 or http://yourdomainname.

And don't forget to remove the file public/index.html. If you don't remove it, you will continue seeing the Rails default home page.

Best Regards,

Fidel.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to