fixed request from action controller to restful controller with ajax