diff --git a/assets/controllers/backbutton_controller.js b/assets/controllers/backbutton_controller.js new file mode 100644 index 0000000..b13a0b8 --- /dev/null +++ b/assets/controllers/backbutton_controller.js @@ -0,0 +1,7 @@ +import { Controller } from '@hotwired/stimulus' + +export default class extends Controller { + navigateBack() { + window.history.back() + } +} \ No newline at end of file diff --git a/templates/bundles/TwigBundle/Exception/error.html.twig b/templates/bundles/TwigBundle/Exception/error.html.twig new file mode 100644 index 0000000..561285a --- /dev/null +++ b/templates/bundles/TwigBundle/Exception/error.html.twig @@ -0,0 +1,13 @@ +{% extends 'layout.html.twig' %} + +{% block content %} +
+ Da ist etwas schiefgelaufen. Wir haben uns Notizen gemacht und kümmern uns schnellstmöglich darum. +
+ +{% endblock %}