Add the helper method in application controller.