diff --git a/.travis.yml b/.travis.yml index 59a4489..58d570a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,16 @@ +dist: xenial + +addons: + apt: + packages: + - ant-optional + language: php php: - - "7.1" + - "7.3" - "7.2" + - "7.1" env: - CONTAO_VERSION=contao/core-bundle ~4.4.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b6da8c..3d1bcc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 3.1.2 - TBD +## 3.1.3 - 2019-01-10 -[Full Changelog](https://github.com/netzmacht/contao-leaflet-maps/compare/3.1.1...hotfix/3.1.2) +[Full Changelog](https://github.com/netzmacht/contao-leaflet-maps/compare/3.1.2...3.1.3) + +### Fixed + + - Fix broken api routes in Contao 4.6/Symfony 4 (#69) + - Fix broken about.html.twig template. Error block was missing + +## 3.1.2 - 2018-12-18 + +[Full Changelog](https://github.com/netzmacht/contao-leaflet-maps/compare/3.1.1...3.1.2) ### Fixed diff --git a/src/Bundle/Resources/config/services.yml b/src/Bundle/Resources/config/services.yml index e7cff08..a129799 100644 --- a/src/Bundle/Resources/config/services.yml +++ b/src/Bundle/Resources/config/services.yml @@ -128,11 +128,13 @@ services: - { name: Netzmacht\Contao\PageContext\Request\PageIdDeterminator } Netzmacht\Contao\Leaflet\Frontend\Action\LayerDataAction: + public: true arguments: - '@netzmacht.contao_leaflet.map.provider' - '@netzmacht.contao_leaflet.filter_factory' Netzmacht\Contao\Leaflet\Backend\Action\AboutAction: + public: true arguments: - '@templating' - '%kernel.project_dir%' diff --git a/src/Bundle/Resources/views/backend/about.html.twig b/src/Bundle/Resources/views/backend/about.html.twig index 26fc47f..b426c24 100644 --- a/src/Bundle/Resources/views/backend/about.html.twig +++ b/src/Bundle/Resources/views/backend/about.html.twig @@ -2,6 +2,8 @@ {% block headline %}{{ "MOD.leaflet_about.1"|trans({}, 'contao_modules') }}{% endblock %} +{% block error %}{% endblock %} + {% block main %}