Can't get around this Routing Error

Hi All,

I'm currently stuck trying to get a scaffold routed correctly. The line
of code causing me problems is:

(link_to 'Edit', edit_listhub_path(@listhub))

It works fine in 127.0.0.1:3000/listhubs.

However, when I try it in a partial in the "user" controller
(127.0.0.1:3000/user,

I receive the error below:

This looks suspicious - is @listhub non nil in the case where you are
rendering this partial ?

Fred

What does the partial contain? have u given @listhub any value for
this action that its failing in?

Frederick Cheung wrote: