diff --git a/src/Routing/ResourceResponse.php b/src/Routing/ResourceResponse.php index 64bcf418..514bbf16 100644 --- a/src/Routing/ResourceResponse.php +++ b/src/Routing/ResourceResponse.php @@ -54,6 +54,7 @@ protected function contents() $contents = (new View) ->template($this->data->template()) ->layout($this->data->layout()) + ->with($this->data->toAugmentedArray()) ->cascadeContent($this->data) ->render();