On 19 July 2012 17:19, Shandy Nantz <li...@ruby-forum.com> wrote:
> Hi all,
>
> I'm trying to convert what I think are some pretty straight forward
> Rail2 routes to Rails3 routes with no success.
>
> I have map.connect '', :controller => "agency" which I have tried
> converting to match '', :to => 'agency' which then throws an error
> saying:

Is that not just
root :to => "agency#index"
assuming the action you want is index.  Unless I have forgotten how
rails 2 routing worked.

Colin

-- 
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 https://groups.google.com/groups/opt_out.


Reply via email to