Skip to content

Commit

Permalink
fix: scope blocksResolver.resolvers.files
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed May 21, 2023
1 parent 7142b20 commit 944aa44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/fieldMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
);

// Get the resolver method
$resolver = $kirby->option('resolvers.files', fn ($image) => [
$resolver = $kirby->option('blocksResolver.resolvers.files', fn ($image) => [
'url' => $image->url(),
'width' => $image->width(),
'height' => $image->height(),
Expand Down

0 comments on commit 944aa44

Please sign in to comment.