vendredi 27 avril 2018

i have been showing error missing parameter

this error message keep showing

Missing required parameters for [Route: merchants.add.channel] [URI: merchants/{key}/denomination/{keydenom}/channel/addChannel].

here is my route

Route::get('merchants/{key}/denomination/{keydenom}/channel', 'MerchantsController@channel')->name('merchants.channel');

here is my function

public function channel($id)
{
  if (!can('merchants_list_channel')) {
      return redirect()->route('home');
  }
  $merchant = MerchantDenomination::where('id', $id)->pluck('name')->first();
  $statusDenomList = [
      '' => '-- All --',
      'ACTIVE' => 'Active',
      'DISABLE' => 'Disable',
      'OFS' => 'OFS'
  ];
    return view('merchants.channel', compact('statusDenomList', 'id', 'merchant'));
}



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2I3KMFW
via IFTTT

Aucun commentaire:

Enregistrer un commentaire