FriendsOfSymfony/FOSJsRoutingBundle — pull request #76 by johnkary (2013-09-09 02:20:15+00:00)
Title: Add port number to generated absolute URLs

**Step 1:** Host application from a web server running on a specific port (e.g. 127.0.0.1:8888)

**Step 2:** Create a controller, expose its route:

```php
$name));
}
}
```

**Step 3.** Generate a route to its absolute URL:

```javascript
Routing.generate('say_hello', {'name':'John'}, true);
```

Expected: http://127.0.0.1:8888/app_dev.php/hello/John
Actual: http://127.0.0.1/app_dev.php/hello/John