From c6997bda640ca732fa7087c623b2c915cb6b7dc5 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 10 Apr 2016 09:48:07 +0200 Subject: [PATCH] Removed unused config stuff --- composer.json | 2 -- config/autoload/templates.global.php | 4 +++- config/autoload/templates.local.php.dist | 9 --------- templates/app/home-page.html.twig | 2 +- 4 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 config/autoload/templates.local.php.dist diff --git a/composer.json b/composer.json index 0aaee0a0..a909e884 100644 --- a/composer.json +++ b/composer.json @@ -28,13 +28,11 @@ }, "autoload": { "psr-4": { - "App\\": "src/App/", "Acelaya\\UrlShortener\\": "src" } }, "autoload-dev": { "psr-4": { - "AppTest\\": "tests/AppTest/", "AcelayaTest\\UrlShortener\\": "tests" } }, diff --git a/config/autoload/templates.global.php b/config/autoload/templates.global.php index b0a57959..2beb9918 100644 --- a/config/autoload/templates.global.php +++ b/config/autoload/templates.global.php @@ -3,7 +3,9 @@ return [ 'templates' => [ - 'extension' => 'html.twig', + 'paths' => [ + 'templates' + ], ], 'twig' => [ diff --git a/config/autoload/templates.local.php.dist b/config/autoload/templates.local.php.dist deleted file mode 100644 index 13d4a711..00000000 --- a/config/autoload/templates.local.php.dist +++ /dev/null @@ -1,9 +0,0 @@ - [ - 'cache_dir' => false, - ], - -]; diff --git a/templates/app/home-page.html.twig b/templates/app/home-page.html.twig index fc793c1e..b048b139 100644 --- a/templates/app/home-page.html.twig +++ b/templates/app/home-page.html.twig @@ -1,4 +1,4 @@ -{% extends '@layout/default.html.twig' %} +{% extends 'layout/default.html.twig' %} {% block title %}Home{% endblock %}