I'm trying to call a controller method from a form object, to increment a given item.
The problem is that when adding the parameter, the form action will add a question mark, instead of a slash.
<form method="POST" action="http://localhost/admin/pages?1"> How am I to define the parameter?
{!! Form::open([ 'action'=>['Admin\\PagesController@increment', $item->id], 'style' => 'display:inline' ]) !!} {!! Form::submit('Move Up', ['class' => 'btn btn-danger btn-xs']) !!} {!! Form::close() !!}
Admin\PagesController@increment?