Forum: Ruby on Rails map.root

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
661ae6e97d0e16c2af2aaf7d197e8387?d=identicon&s=25 Sijo k g (sijo)
on 2008-12-19 11:50
Hi
   Is there any difference saying
map.root :controller => 'home'

and

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

Thanks in advance
Sijo
A1b97dafea62b11e7b3bef338ce3fe83?d=identicon&s=25 Billy Hsu (cfc)
on 2008-12-19 11:55
(Received via mailing list)
They are same :)
The entry action of a controller  named "index"

On Fri, Dec 19, 2008 at 6:50 PM, Sijo Kg
<rails-mailing-list@andreas-s.net>wrote:

> 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
This topic is locked and can not be replied to.