Map.root

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

and

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

Thanks in advance
Sijo

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

On Fri, Dec 19, 2008 at 6:50 PM, Sijo Kg
[email protected]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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs