# Getting an error when using routing navigator plugin - any ideas?

**URL:** <https://www.ruby-forum.com/t/getting-an-error-when-using-routing-navigator-plugin-any-ideas/123692>\
**Category:** Rails\
**Created:** [December 19, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/getting-an-error-when-using-routing-navigator-plugin-any-ideas/123692 "2007-12-19T20:16:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@MarcS](https://www.ruby-forum.com/u/MarcS)\
**Post date:** [December 19, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/getting-an-error-when-using-routing-navigator-plugin-any-ideas/123692/1 "2007-12-19T20:16:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![MarcS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@MarcS](https://www.ruby-forum.com/u/MarcS)\
**Post date:** [December 20, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/getting-an-error-when-using-routing-navigator-plugin-any-ideas/123692/2 "2007-12-20T23:04:18Z")

</div>

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
