'consumables', 'middleware' => ['auth']], function () { Route::get( '{consumableID}/checkout', ['as' => 'checkout/consumable', 'uses' => 'Consumables\ConsumableCheckoutController@create'] ); Route::post( '{consumableID}/checkout', ['as' => 'checkout/consumable', 'uses' => 'Consumables\ConsumableCheckoutController@store'] ); }); Route::resource('consumables', 'Consumables\ConsumablesController', [ 'middleware' => ['auth'], 'parameters' => ['consumable' => 'consumable_id'], ]);