Hi all,
I have a partial and call a method list_users in that partial (in partial: users = list_users(showtree.id))
I get undefined method `list_users' for #<#<Class:0x5530124>: 0x55300fc> error
I have defined a function in a controller admin_controller.rb and the partial is called in the corresponding admin view. I find it strange that the method is not known?
Someone knows what I'm doing wrong?
Thanks in advance Stijn