PHP Classes

File: config/routes.yaml

Recommend this page to a friend!
  Classes of Manolo Salsas   Symfony Create Bundle Skeleton   config/routes.yaml   Download  
File: config/routes.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Symfony Create Bundle Skeleton
Application to create reusable Symfony Bundles
Author: By
Last change:
Date: 4 years ago
Size: 597 bytes
 

Contents

Class file image Download
# These lines define a route using YAML configuration. The controller used by # the route (FrameworkBundle:Template:template) is a convenient shortcut when # the template can be rendered without executing any logic in your own controller. # See https://symfony.com/doc/current/templates.html#rendering-a-template-directly-from-a-route homepage: path: /{_locale} controller: Symfony\Bundle\FrameworkBundle\Controller\TemplateController::templateAction requirements: _locale: '%app_locales%' defaults: template: default/homepage.html.twig _locale: '%locale%'