Laravel 5.2 named route usage with variable parameter
问题 I have a route like this: // Open New Subscription page Route::get('/account/subscriptions/create/{menu}', ['uses' => 'Subscriptions\SubscriptionController@create', 'as' => 'subscription.create']); In my blade template I use the named route like this: <a href="{!! route('organisations.index') . "/p11-c3" !!}"> But this format does not work. How do I pass the variable menu a value while still using the named route (rather than hard coding a url in the href )? 回答1: You can pass your route