On Fri, May 27, 2011 at 5:59 AM, Bala TS <[email protected]> wrote:

> ActionController::Routing::Routes.draw do |map|
>
>  map.root :controller => "controller_name", :action => "Index"
>  map.connect ':controller/:action/:id'
>  map.connect ':controller/:action/:id.:format'
>
> end
>  it worked.Thank you.I am newbiee to rails,so please can you explain above
> code a bit.


  John

-- 
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