I have a shared partial which could be rendered by two different
controllers. Is there an easy way in the view to return which
controller rendered the partial? I’ve tried using:
<%debug(params[‘controller’])%>
While that does return what I need it seems like a kludgy fit since
debug is not meant to be used for that.
Thanks,
LarsenMTL