undefined local variable or method `controller_path’
Do I need to install anything explicit?
For the nosies, I’m looking for (building) a breadcrumb routine (as page
independant/DRY-less as possible). Like “mods > crm > customer > add
contact”
Regards,
Gerard
–
“Who cares if it doesn’t do anything? It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS process …”
My $Grtz =~ Gerard;
~
:wq!
I just ran into this problem. Has anyone else gotten this as well? Did
you find a solution?
I’m implementing the authorization recipe from Fowler’s Rails Recipes.
Since I have modules, I need to use controller_path instead of
controller_name in my rights.
I see the source for controller_path in Base.rb, so I’m confused why it
can’t be found. Perhaps I’ll just stick .gsub(/Controller$/,
‘’).underscore on the name.