Skip to content

Commit

Permalink
Rename downloadSecurity to downloadStrategy (#1085)
Browse files Browse the repository at this point in the history
Fixed deprecated call of `downloadSecurity` in MediaAdmin view template.
  • Loading branch information
baurelien authored and greg0ire committed Aug 16, 2016
1 parent be33b6b commit a1d684d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/MediaAdmin/edit.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ file that was distributed with this source code.
<th><a href="{{ path('sonata_media_download', {'id': object|sonata_urlsafeid }) }}">{{ 'label.protected_download_url'|trans({}, 'SonataMediaBundle') }}</a></th>
<td>
<input type="text" class="form-control" onClick="this.select();" readonly="readonly" value="{{ path('sonata_media_download', {'id': object|sonata_urlsafeid }) }}" />
<span class="label label-warning">{{ 'label.protected_download_url_notice'|trans({}, 'SonataMediaBundle') }}</span> {{ sonata_media.pool.downloadSecurity(object).description|raw }}
<span class="label label-warning">{{ 'label.protected_download_url_notice'|trans({}, 'SonataMediaBundle') }}</span> {{ sonata_media.pool.downloadStrategy(object).description|raw }}
</td>
</tr>
<tr>
Expand Down

0 comments on commit a1d684d

Please sign in to comment.