title: Creating a Report System
body: <p>I'm trying to create a report system in Laravel.</p>
  <p>Here is my schema:</p>
  <pre><code>Schema::create('reports', function (Blueprint $table) {
      $table-&gt;bigIncrements('id');
      $table-&gt;unsignedBigInteger('user_id')-&gt;nullable();
      $table-&gt;unsignedBigInteger('reportable_id')-&gt;nullable();
      $table-&gt;string('reportable_type')-&gt;nullable();
      $table-&gt;string('body');
      $table-&gt;timestamps();
      $table-&gt;foreign('user_id')-&gt;references('id')-&gt;on('users')-&gt;onDelete('cascade');
  });
  </code></pre>
  <p>What I want to try to achieve is when a user reports, the model that gets passed into the Route (i.e Thread, Reply, User, Post), gets recorded in the database.</p>
  <pre><code>Route::post('/report/{model}', 'ReportController@store');
  </code></pre>
  <p>I did some research and it's not possible to pass the Object into the request.</p>
  <p>How do I go about creating this system? Are there any other alternatives I should consider?</p>
  <p>Thanks!</p>