title: laravel Missing required parameter for [Route: adm.index] [URI: admin/{name}] [Missing parameter: name]
body: <p>controller.php</p>
  <pre><code>public function index($name)
  {
      $academy = Academy::where('won_main',Auth::user()-&gt;id)-&gt;first();
      return view('auth.dashboard.admin.index',['name'=&gt; $academy]);
  }
  </code></pre>
  <p>web.php</p>
  <pre><code>Route::controller(AcademyController::class)
      -&gt;prefix('admin')
      -&gt;middleware('auth')
      -&gt;group(function ()
      Route::get('/{name}','index')-&gt;name('adm.index');
  });
  </code></pre>
  <p>html</p>
  <pre><code>&lt;a href=&quot;{{ route('adm.index',['name'=&gt; $name ])}}&quot;&gt;
  </code></pre>
  <p>model</p>
  <pre><code>protected $table = 'academies';
  protected $primaryKey = 'id';
  protected $fillable = [
      'user_id',
      'acadamy_code',
      'won_name',
      'won_main',
      'role',
  ];
  
  use HasFactory;
  </code></pre>
  <p>version laravel 9.2</p>
  <p>I want domain.test/name</p>
  <p>It's been a long time, but it's not working. I ask for your help.</p>