Q:

Pass variables to route with URL::to in Laravel

Here is how I am calling it in a create.blade.php of the same controller as the route I am trying to call:
{{ Form::open(['route' => 'myRoute']) }}
   <button type="submit" href="{{ URL::to('myRoute') }}" class="btn btn-danger btn-mini">Delete</button>
{{ Form::close() }}

The Route is: 
Route::post('myRoute', ['as' => 'timeline.myRoute', 'uses' => 'TimelineController@myRoute']);

I want to pass an integer to the the route.  I know that ->with() doesn't work like in View::make().  What is an efficient way to pass a variable into myRoute?  Any help is appreciated. 

A:

Jeemusu was 90% correct but forgot to specify a variable when opening a form. 
What ultimately ended up working was:
{{ Form::open(array('route' => array('timeline.myRoute', $id))) }}
      <button type="submit" href="{{ URL::route('timeline.myRoute', array($id))     }}" class="btn btn-danger btn-mini">Delete</button>
{{ Form::close() }}

With the Route in Route.php:
Route::post('myRoute/{id}', ['as' => 'timeline.myRoute', 'uses' => 'TimelineController@myRoute']);

And the function in my controller:
class TimelineController extends BaseController
{
     public function myRoute($id) {
          return $id;
     }
}

Hope this helps anyone who had my problem.