Map.root


#1

Hi
Is there any difference saying
map.root :controller => ‘home’

and

map.root :controller => ‘home’,:action=>‘index’

Thanks in advance
Sijo


#2

They are same :slight_smile:
The entry action of a controller named “index”

On Fri, Dec 19, 2008 at 6:50 PM, Sijo Kg
removed_email_address@domain.invalidwrote:

Sijo

Posted via http://www.ruby-forum.com/.


TWRUG Blog:
http://blog.rubyonrails.org.tw

CFC on Rails:
http://zusocfc.blogspot.com

Only two surfaces of a box:
http://blog.pixnet.net/zusocfc