use controller.pathname()