title: Laravel Excel file is not downloading to screen
body: <p>I'm creating a Laravel project using the Maatwebsite Excel package. I have the following line in my Controller when user lands on this url:</p>
  
  <pre><code>use Maatwebsite\Excel\Facades\Excel;    
  public function test()
      {
          return Excel::download($objectArray,'test.xlsx');
      }
  </code></pre>
  
  <p>When I do the following <code>dd(Excel::download($objectArray,'test.xlsx')</code> in my method I see a file is created - or at least I think there is - as the result shows a <code>BinaryFileResonse</code> object with data. So I can assume the file is being generated, but it isn't being returned/downloaded.</p>
  
  <p>Do I need to pass and grab the url of this file into my <code>public function index()</code> method as template data?</p>
  
  <p>What am I missing here?</p>