title: InvalidArgumentException, "View not found", on Lumen 5.2.6
body: <p>Tried clearing the app cache with <code>php artisan cache:clear</code> and the views' cache with <a href="https://github.com/baao/ClearViewCache" rel="nofollow noreferrer">baao's ClearViewCache</a>, but it didn't work.</p>
  
  <p>Followed the <a href="https://laravel.com/docs/5.2/quickstart" rel="nofollow noreferrer">Basic Task List</a> tutorial from the official docs, there's an empty Task model in /app folder.</p>
  
  <p>The command <code>php artisan --version</code> prints: Laravel Framework version Lumen (5.2.6) (Laravel Components 5.2.*)</p>
  
  <h2>______________________________________________________________</h2>
  
  <p>The exception message:</p>
  
  <blockquote>
    <p>InvalidArgumentException in FileViewFinder.php line 137:</p>
    
    <p>View [tasks] not found.</p>
    
    <ol>
    <li>in FileViewFinder.php line 137</li>
    <li>at FileViewFinder->findInPaths('tasks', array('/home/rodrigo/Laravel/lumen/resources/views')) in FileViewFinder.php line 79</li>
    <li>at FileViewFinder->find('tasks') in Factory.php line 165</li>
    <li>at Factory->make('tasks', array('tasks' => object(Collection)), array()) in helpers.php line 332</li>
    <li>at view('tasks', array('tasks' => object(Collection))) in routes.php line 22</li>
    <li>at Closure->{closure}()</li>
    <li>at call_user_func_array(object(Closure), array()) in Container.php line 507</li>
    <li>at Container->call(object(Closure), array()) in RoutesRequests.php line 505</li>
    <li>at Application->callActionOnArrayBasedRoute(array(true, array(object(Closure)), array())) in RoutesRequests.php line 479</li>
    <li>at Application->handleFoundRoute(array(true, array(object(Closure)), array())) in RoutesRequests.php line 376</li>
    <li>at Application->Laravel\Lumen\Concerns{closure}() in RoutesRequests.php line 629</li>
    <li>at Application->sendThroughPipeline(array(), object(Closure)) in RoutesRequests.php line 382</li>
    <li>at Application->dispatch(null) in RoutesRequests.php line 327</li>
    <li>at Application->run() in index.php line 28</li>
    </ol>
  </blockquote>
  
  <h2>______________________________________________________________</h2>
  
  <p>Screenshot of my project's structure:</p>
  
  <p><a href="https://i.stack.imgur.com/lhBpy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lhBpy.png" alt="enter image description here"></a></p>