Skip to content

Commit

Permalink
Move all Twig templates to "legacy" subdirectory
Browse files Browse the repository at this point in the history
Issue #116
  • Loading branch information
TomaszGasior committed Aug 22, 2020
1 parent 17ba68c commit 75b41e0
Show file tree
Hide file tree
Showing 30 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/packages/twig.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
twig:
default_path: '%kernel.project_dir%/templates'
paths:
- '%kernel.project_dir%/templates/legacy'
debug: '%kernel.debug%'
strict_variables: '%kernel.debug%'
exception_controller: null
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<!doctype html>

{% deprecated 'This page uses old layout which is deprecated. Page must be ported to new layout.' %}

{% set current_locale = app.request.locale %}
{% set route_name = app.request.attributes.get('_route') %}
{% set route_params = app.request.attributes.get('_route_params') %}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 75b41e0

Please sign in to comment.