Add using_resouce_with_json to controller.