diff --git a/src/Generator.php b/src/Generator.php index 7c73de0..00c29fc 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -179,6 +179,7 @@ protected function createContentFiles() $request = tap(Request::capture(), function ($request) { $request->setConfig($this->config); $this->app->instance('request', $request); + Cascade::withRequest($request); }); $pages = $this->gatherContent();