diff --git a/docs/admin/extending/pages.md b/docs/admin/extending/pages.md index 04080e3983..6e31510c2a 100644 --- a/docs/admin/extending/pages.md +++ b/docs/admin/extending/pages.md @@ -8,6 +8,8 @@ To extend a page you need to create and register an extension. For example, the code below will register a custom extension called `MyEditExtension` for the `EditProduct` Filament page. ```php +use Lunar\Admin\Support\Facades\LunarPanel; + LunarPanel::registerExtension(new MyEditExtension, EditProduct::class); ```