title: UnexpectedValueException in Route.php line 639: Invalid route action: [App\Http\Controllers\PortfolioController]
body: <p>Why am I getting this error. I created a PortfolioController. Then I made a route using this </p>
  
  <pre><code>Route::get('portfolio','PortfolioController');  
  </code></pre>
  
  <p>So in my controller page I made this. </p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  use App\Http\Requests;
  use App\Http\Controllers\Controller;
  
  class PortfolioController extends Controller
  {
    //This only gets exectued when we request /portfolio/Paintings using GET
      public function getPaintings()
      {
        return 'This RESTful controller is working!';
      }
  }
  </code></pre>
  
  <p>I get this error when typing in localhost/portfolio/paintings</p>