title: How to pass multiple parameters to laravel named resource route
body: <p>I have a named route.
  I want to pass two parameters to the <strong>'edit'</strong> action (for example <code>{id}</code> and <code>{month}</code>).</p>
  
  <p>I tried to pass parameters through an array, but still not working.</p>
  
  <pre><code>Route::resource('admin/worktimes', 'WorktimesController')-&gt;names([
      'index' =&gt; 'worktimes',
      'show' =&gt; 'worktimes.show',
      'create' =&gt; 'worktimes.create',
      'edit' =&gt; 'worktimes.edit',
      'store' =&gt; 'worktimes.store',
      'update' =&gt; 'worktimes.update'
  ])
  
  {{ route('admin/worktimes', array($id, $month) }}
  </code></pre>
  
  <p>The url created is '<a href="http://.../admin/worktimes/4/edit?month=2019-05" rel="nofollow noreferrer">http://.../admin/worktimes/4/edit?month=2019-05</a>'. I want to have something like '<a href="http://.../admin/worktimes/4/2019-05/edit" rel="nofollow noreferrer">http://.../admin/worktimes/4/2019-05/edit</a>'.</p>