Method App\Http\Controllers\CampaignController::show does not exist.
Bad Method Call
Did you mean App\Http\Controllers\CampaignController::dispatchNow() ?
<?php
namespace App\Http\Controllers;
use App\Campaign;
use Illuminate\Http\Request;
class CampaignController extends Controller
{
// i have another public funtion , index , create , store , update , destroy .
public function info()
{
$title = 'Information ';
$campaigns = Campaign::all();
return view('campaign.info', compact('campaigns', 'title'));
}
}
Change the order of the resource route declaration (which anyway appears redundant) and the info route. The resource route definition creates a route that responds to GET /Campaign/{Campaign}, whenever you request GET /Campaign/info, that resource route is being matched.