ajax controller works