Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions app/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,17 @@ services:
arguments:
$emailSender: '%app.notifications.email_sender%'

# when the service definition only contains arguments, you can omit the
# 'arguments' key and define the arguments just below the service class
AppBundle\Twig\AppExtension:
arguments:
$locales: '%app_locales%'
$locales: '%app_locales%'

AppBundle\EventListener\CommentNotificationSubscriber:
arguments:
$sender: '%app.notifications.email_sender%'
$sender: '%app.notifications.email_sender%'

AppBundle\EventListener\RedirectToPreferredLocaleSubscriber:
arguments:
$locales: '%app_locales%'
$defaultLocale: '%locale%'
$locales: '%app_locales%'
$defaultLocale: '%locale%'

# needed for the localizeddate Twig filter
Twig\Extensions\IntlExtension: ~