Rework on export

- all export now return a `HttpFoundation\Response`
- return a 404 on unsupported format
- add tests
This commit is contained in:
Jeremy Benoist
2015-10-16 10:51:53 +02:00
committed by Nicolas Lœuillet
parent 03690d1387
commit add597bad9
10 changed files with 351 additions and 145 deletions

View File

@ -64,3 +64,9 @@ services:
- %language%
tags:
- { name: kernel.event_subscriber }
wallabag_core.helper.entries_export:
class: Wallabag\CoreBundle\Helper\EntriesExport
arguments:
- %wallabag_url%
- src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-152.png