# Route

The route tag allows you to generate the full URL for a given named route, including any parameters.

## Overview
This tag is equivalent to the `route()` helper in [Laravel](https://laravel.com/docs/urls#urls-for-named-routes). Useful for outputting the correct urls for all your glorious routes.

## Example

``` php
  Route::put('bacon/{bacon}', 'BaconController@update')->name('bacon.update');
```

::tabs

::tab antlers
```antlers
<form action="{{ route:bacon.update :bacon="id" }}">
   ... yummy bacon goodness
</form>
```
::tab blade
```blade
<form action="{{ route('bacon.update', ['bacon' => $id]) }}">
   ... yummy bacon goodness
</form>
```
::

```html
<form action="/bacon/6">
   ... yummy bacon goodness
</form>
```
