mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
fix
This commit is contained in:
@@ -12,6 +12,11 @@ class Page extends \Filament\Pages\Page
|
||||
|
||||
public static $resource;
|
||||
|
||||
public static function generateUrl($parameters = [], $absolute = true)
|
||||
{
|
||||
return route('filament.resources.' . static::getResource()::getSlug() . '.' . static::route()->name, $parameters, $absolute);
|
||||
}
|
||||
|
||||
public static function getModel()
|
||||
{
|
||||
return static::getResource()::getModel();
|
||||
|
||||
Reference in New Issue
Block a user