title: The PUT method is not supported for this route. Supported methods: GET, HEAD, POST. while i use @method('PUT')
body: <p>I've used the <code>@method('PUT')</code> in my blade, but it still says the <code>PUT</code> Method is not supported, does someone know what's wrong?</p>
  <p><img src="https://i.stack.imgur.com/2JCUN.png" alt="controller" /></p>
  <p>My routes are:
  <a href="https://i.stack.imgur.com/Cvj7P.png" rel="nofollow noreferrer">routes</a></p>
  <p>This is my workshops controller edit parameter and storage.</p>
  <pre><code>public function edit(Workshops $workshops)
      {
          $result = compact('workshops');
          Json::dump($result);
          return view('admin.workshops.edit', $result);
      }
  /**
   * Update the specified resource in storage.
   *
   * @param  \Illuminate\Http\Request  $request
   * @param  \App\Workshops  $workshops
   * @return \Illuminate\Http\Response
   */
  public function update(Request $request, Workshops $workshops)
  {
      $this-&gt;validate($request,[
          'name' =&gt; 'required|unique:workshops' . $workshops-&gt;id,
          'datum' =&gt; 'required'. $workshops-&gt;id,
          'plaatsen' =&gt; 'required' . $workshops-&gt;id,
          'price' =&gt; 'required'
      ]);
      $workshops-&gt;name = $request-&gt;name;
      $workshops-&gt;datum = $request-&gt;datum;
      $workshops-&gt;plaatsen = $request-&gt;plaatsen;
      $workshops-&gt;price = $request-&gt;price;
      $workshops-&gt;save();
      session()-&gt;flash('success', 'The workshop has been updated');
      return redirect('admin/workshops');
  }
  </code></pre>