title: Symfony 4.0 doesn't work
body: <p>To the point:<br>
  - I created new project on symfony 4.0: <code>composer create-project symfony/skeleton sf4</code> <br>
  - Welcome page is working<br>
  - I wanted to create my first page with <a href="https://symfony.com/doc/current/page_creation.html" rel="nofollow noreferrer">https://symfony.com/doc/current/page_creation.html</a>
  and I did exactly what they say: create controller and route<br>
  - Welcome page changed status to: <code>No route found for "GET /"</code> <b> &lt;-Solved</b><br> 
  - new page path can't find file - Error 404<br></p>
  
  <p>What am I doing wrong? That is silly<br>
  <br>
  <b>~src/Controller/SecurityController.php</b></p>
  
  <pre><code>&lt;?php
  namespace App\Controller;
  
  use Symfony\Component\HttpFoundation\Response;
  
  class SecurityController {
      public function logowanie() {
          return new Response(
              '&lt;html&gt;&lt;body&gt;Logowanie&lt;/body&gt;&lt;/html&gt;'
          );
      }
  }
  </code></pre>
  
  <p><br>
  <b>~config/routes.yaml</b></p>
  
  <pre><code>index:
      path: /
      controller: App\Controller\MainController::index
  
  logowanie:
      path: /logowanie
      controller: App\Controller\SecurityController::logowanie
  </code></pre>
  
  <p><b>EDIT:</b><br>
  Home page works - thanks @Cerad<br></p>