I moved my project from rails 2.0 to 2.1 and map.root stop working:
It means if I have e.g:
map.root :controller => ''sessions'', :action =>
''new''
it not working,
but when I try do this
map.new_session :controller => ''sessions'', :action =>
''new''
map.root :new_session
I have error:
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/builder.rb:197:in
`build'': Illegal route: the :controller must be specified!
(ArgumentError)
any ideas?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---