title: how to pass variable in route name in laravel?
body: <p>I have defined route </p>
  
  <pre><code>Route::get('/edit-industry/{id}', 'Industries@edit')-&gt;name('admin.editIndustry');
  </code></pre>
  
  <p>And passing variable by</p>
  
  <pre><code>{{ route('admin.editIndustry', ['id'=&gt;1]) }}
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>{{ route('admin.editIndustry', [1]) }}
  </code></pre>
  
  <p>This is not working. How to pass variable here?</p>