Closed stanfieldr closed 10 years ago
Before if I had a route such as:
Route::get('editor/{id?}', array( 'as' => 'designer.edit', 'uses' => 'Focus\FormBuilder\Controller\FormBuilderController@edit' ));
laroute would replace the optional parameter with undefined.
laroute.route('designer.edit'); // yields /editor/undefined
However, now laroute will strip out the optional parameter.
laroute.route('designer.edit') // yields /editor
Is there any progress or status on this pull request? I guess the merge conflict is in the minified version.
Whoops. Apologies, this slipped under my todos radar.
No problem and thanks for merging. :+1:
Before if I had a route such as:
laroute would replace the optional parameter with undefined.
However, now laroute will strip out the optional parameter.