This commit is contained in:
Mekan1206
2026-04-30 19:50:59 +05:00
parent 6dc6802445
commit a07c764dfe
142 changed files with 2709 additions and 1914 deletions

View File

@@ -14,15 +14,16 @@ use Laravel\Nova\Fields\Image;
use Laravel\Nova\Fields\Select;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Http\Requests\NovaRequest;
use Laravel\Nova\URL;
class UserDocResource extends Resource
{
/**
* The model the resource corresponds to.
*
* @var class-string<\App\Models\Post\User\UserDoc>
* @var class-string<UserDoc>
*/
public static $model = \App\Models\Post\User\UserDoc::class;
public static $model = UserDoc::class;
/**
* The single value that should be used to represent the resource when being displayed.
@@ -44,7 +45,7 @@ class UserDocResource extends Resource
* Return the location to redirect the user after creation.
*
* @param \Laravel\Nova\Resource $resource
* @return \Laravel\Nova\URL|string
* @return URL|string
*/
public static function redirectAfterCreate(NovaRequest $request, $resource)
{
@@ -55,7 +56,7 @@ class UserDocResource extends Resource
* Return the location to redirect the user after update.
*
* @param \Laravel\Nova\Resource $resource
* @return \Laravel\Nova\URL|string
* @return URL|string
*/
public static function redirectAfterUpdate(NovaRequest $request, $resource)
{