Question: I want to compare the patches in a certain radius regarding the amount of a certain class of agents on them. The agents should move to the patch where the most agents (in this case humans) are. If they are already on the patch with the most humans then they must not move. I coded it and the humans group but most of them don't stay and run around in lines (one behind the other). Would be great if anyone of you could have a quick look at my code. Thanks

```
if Strategy = "Gathering-Simple" [

    if ((count(humans-on max-one-of patches in-radius rad [count(humans-here)] )) ) >= count(humans-here) [
    if count(humans-on patches in-radius rad) - count(humans-here) > 0 [

      face max-one-of patches in-radius rad [count(humans-here)]
    fd 1
    ]]
    ]

```

Answer: 
Exclude api routes from the web route

```php
Route::get('/{any}', 'SPAController@index')->where('any', '^(?!api).*$');

```

Hope this helps
I solved it. On vue it was supposed to be `api/login` not `/api/login` or `api/login/` or something.