]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #2322 from wallabag/v2-404
authorNicolas LÅ“uillet <nicolas@loeuillet.org>
Sat, 1 Oct 2016 14:35:48 +0000 (16:35 +0200)
committerGitHub <noreply@github.com>
Sat, 1 Oct 2016 14:35:48 +0000 (16:35 +0200)
Customize errors templates

1  2 
src/Wallabag/CoreBundle/Resources/config/services.yml

index 5a727ec530c57c8dcb3f6ddbae3e9c461006d830,a769b07e6e35693e5fc7830cbeca78a10ac63562..d11398469757c4a60957a2a37c98adeca5b0dfd6
@@@ -88,6 -88,17 +88,6 @@@ services
          arguments:
              - WallabagCoreBundle:Tag
  
 -    wallabag_core.registration_confirmed:
 -        class: Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener
 -        arguments:
 -            - "@doctrine.orm.entity_manager"
 -            - "%wallabag_core.theme%"
 -            - "%wallabag_core.items_on_page%"
 -            - "%wallabag_core.rss_limit%"
 -            - "%wallabag_core.language%"
 -        tags:
 -            - { name: kernel.event_subscriber }
 -
      wallabag_core.helper.entries_export:
          class: Wallabag\CoreBundle\Helper\EntriesExport
          arguments:
                  host: '%redis_host%'
                  port: '%redis_port%'
                  schema: tcp
+     wallabag_core.exception_controller:
+         class: Wallabag\CoreBundle\Controller\ExceptionController
+         arguments:
+             - '@twig'
+             - '%kernel.debug%'