all: prefer postfix dereference syntax
This commit is contained in:
parent
56ee34eb7c
commit
396ab297a8
5 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
% layout "main";
|
||||
|
||||
<div class="flex-c-horizontal flex-c-wrap gallery">
|
||||
% for my $m (@$media) {
|
||||
% for my $m ($media->@*) {
|
||||
<%= link_to $m->{media_link} => begin %>
|
||||
<%= image $m->{media_src} %>
|
||||
<% end %>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
% layout "main";
|
||||
|
||||
<p class="text-center">
|
||||
% for my $t (@$tags) {
|
||||
% for my $t ($tags->@*) {
|
||||
<%= link_to "$t->{name} ($t->{count})" => $t->{uri} %>
|
||||
% }
|
||||
</p>
|
||||
|
|
Reference in a new issue