MarcS
2007-Dec-19 19:15 UTC
getting an error when using routing navigator plugin - any ideas?
Hi everyone, I''m getting the following error after installing and using the routing navigator plugin. undefined method `template_root='' for RoutingNavigatorController:Class is anyone else seing the same problem? I tried to google for it but I didn''t find anything thanks for your help Marc --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
rgh
2007-Dec-20 22:03 UTC
Re: getting an error when using routing navigator plugin - any ideas?
I got the same thing. I''m guessing ''template_route='' is deprecated in Rails 2 - I assume you are using version 2? change ''template_route'' to ''view_paths'' on line 5 of vendor/plugins/ routing_navigator/lib/routing_navigator_controller.rb You will also need to change ''start_form_tag'' to ''form_tag'' on line 13 of vendor/plugins/routing_navigator/views/routing_navigator/ index.rhtml That worked for me. I''m not actually sure if it does the ''right thing'' but it looks about right! rgh On Dec 20, 6:15 am, MarcS <marcschue...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi everyone, > > I''m getting the following error after installing and using the routing > navigator plugin. > > undefined method `template_root='' for RoutingNavigatorController:Class > > is anyone else seing the same problem? > I tried to google for it but I didn''t find anything > > thanks for your help > Marc--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---