changed for working bundles
This commit is contained in:
parent
f46d08850e
commit
9d67e2decc
@ -55,10 +55,18 @@ echo "Creating scaffolding Twig templates in views directory"
|
||||
composer require twig
|
||||
composer require nickyeoman/nytwig
|
||||
mv config/packages/twig.yaml config/packages/twig.yaml.bak
|
||||
wget https://git.gopo.li/nick/symfony/raw/branch/main/twig/twig.yaml
|
||||
wget https://git.nickyeoman.com/nick/symfony/raw/branch/main/twig/twig.yaml
|
||||
mv twig.yaml config/packages/twig.yaml
|
||||
echo "Your twig.yaml config file has been replaced, remove the bak if you are happy."
|
||||
|
||||
################################################################################
|
||||
# Routes
|
||||
################################################################################
|
||||
|
||||
mv config/routes/routes.yaml config/routes/routes.yaml.bak
|
||||
wget https://git.nickyeoman.com/nick/symfony/raw/branch/main/routes/routes.yaml
|
||||
mv routes.yaml config/routes/routes.yaml
|
||||
|
||||
################################################################################
|
||||
# SASS
|
||||
################################################################################
|
||||
|
8
routes/routes.yaml
Normal file
8
routes/routes.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
controllers:
|
||||
resource:
|
||||
path: ../src/Controller/
|
||||
namespace: App\Controller
|
||||
type: attribute
|
||||
|
||||
NickYeomanSymfonyCMS:
|
||||
resource: '@SymfonyCMSBundle/config/routes.yaml'
|
Reference in New Issue
Block a user