title: Laravel custom error page if authorization fails
body: <p>I am trying to show a custom 403 file in laravel when authorization fails in my edit request.</p>
  
  <p>I tried <code>forbiddenResponse()</code> but as it turns out it has been eliminated. </p>
  
  <p>Then I tried <code>failedauthorization()</code> but this does not redirect as well and allows me to edit.</p>
  
  <p>here is my request file</p>
  
  <pre><code>public function authorize()
  {
    $job_posting_id = $this-&gt;route('id');
  
    $job_posting = Job_postings::where('id', $job_posting_id)-&gt;where('user_id', user()-&gt;id)-&gt;exists();
  
    if($job_posting){
      return true;
    }
  
    return false;
  }
  
  public function failedAuthorization()
  {
  
    return redirect('errors.dashboard.parent.403');
  }
  </code></pre>
  
  <p>I have a folder called errors and inside there I have dashboard folder and parent where the error file is located.</p>
  
  <p>How can I redirect to that page if authorization fails?</p>