Skip to content

Commit

Permalink
[MediaBundle]: extension_guesser needs to be passed to pdf handler to
Browse files Browse the repository at this point in the history
Remove aviary
  • Loading branch information
sandergo90 committed Jul 15, 2016
1 parent 8659459 commit 28b1873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/config/pdf_preview.yml
Expand Up @@ -17,7 +17,7 @@ services:

kunstmaan_media.media_handlers.pdf:
class: '%kunstmaan_media.media_handler.pdf.class%'
arguments: [1, '@kunstmaan_media.mimetype_guesser.factory']
arguments: [1, '@kunstmaan_media.mimetype_guesser.factory', '@kunstmaan_media.extension_guesser.factory']
calls:
- [ setMediaPath, [ '%kernel.root_dir%' ] ]
- [ setPdfTransformer, [ '@kunstmaan_media.pdf_transformer' ]]
Expand Down

0 comments on commit 28b1873

Please sign in to comment.