Ejemplo n.º 1
0
 public function beat($name)
 {
     //validate name is the right format
     $ping = Ping::findOrNewFromName($name);
     $ping->recordPingUpdate();
     return response('', 204);
 }