added support for index functions for base controller paths