Modify method to check active state for module/controller/action