title: Symfony 3.3.10 routes
body: <p>I have problem when i try to use routes. It can't be generated, i tried via /app/config/routes.xml but when i modify i get error that the file is not YAML format.</p>
  
  <p>The controller looks:</p>
  
  <pre><code>    use Symfony\Bundle\FrameworkBundle\Controller\Controller;
      use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
      use Symfony\Component\HttpFoundation\Request;
  
     class MainController extends Controller
     {
     public function indexAction(Request $request)
     {
      return $this-&gt;render('main/index.html.twig', [
          'base_dir' =&gt; realpath($this-&gt;getParameter('kernel.project_dir')).DIRECTORY_SEPARATOR,
      ]);
  }
  }
  </code></pre>
  
  <p>When i try to visit /index or main/index it gives me route not found!
  :@</p>
  
  <p>Nor works when i put use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; first before Controller.</p>