it should return smt as response like
{message: 'Event deleted'}.to_json

with proper content_tag