# These are alias routes used to manage legacy urls that were badly formatted (camel case)
admin_mail_theme_save_configuration_deprecated:
  path: /saveConfiguration
  defaults:
    _controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
    route: admin_mail_theme_save_configuration
    permanent: true

admin_mail_theme_send_test_mail_deprecated:
  path: /sendTestMail/{locale}/{theme}/{layout}
  defaults:
    _controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
    route: admin_mail_theme_send_test_mail
    permanent: true

admin_mail_theme_send_test_module_mail_deprecated:
  path: /sendTestMail/{locale}/{theme}/{module}/{layout}
  methods: [ GET ]
  defaults:
    _controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
    route: admin_mail_theme_send_test_module_mail
    permanent: true
