I am trying to use this helper method in my controller and I am getting this error. how to fix this?
thanks