From a1d684de89f04f790728aa49a7d05001c8d87411 Mon Sep 17 00:00:00 2001 From: baurelien Date: Wed, 17 Aug 2016 00:27:56 +0200 Subject: [PATCH] Rename downloadSecurity to downloadStrategy (#1085) Fixed deprecated call of `downloadSecurity` in MediaAdmin view template. --- Resources/views/MediaAdmin/edit.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/MediaAdmin/edit.html.twig b/Resources/views/MediaAdmin/edit.html.twig index 6406d033b..6e4360b98 100644 --- a/Resources/views/MediaAdmin/edit.html.twig +++ b/Resources/views/MediaAdmin/edit.html.twig @@ -72,7 +72,7 @@ file that was distributed with this source code. {{ 'label.protected_download_url'|trans({}, 'SonataMediaBundle') }} - {{ 'label.protected_download_url_notice'|trans({}, 'SonataMediaBundle') }} {{ sonata_media.pool.downloadSecurity(object).description|raw }} + {{ 'label.protected_download_url_notice'|trans({}, 'SonataMediaBundle') }} {{ sonata_media.pool.downloadStrategy(object).description|raw }}