Remove unnecessary path_helper dependency in index controller.