How to tell if you are in a controller module

Try controller.controller_path. It should give you ‘admin/products’.

Julio