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

However, when I try it in a partial in the "user" controller

I receive the error below:

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


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

Frederick Cheung wrote: