My edit doesn't appear, neither in the view nor in the table?

The code is attached, but here are some snippets: table: ->actions([ Tables\Actions\EditAction::make(), Tables\Actions\ViewAction::make(), ]) get pages: public static function getPages(): array { return [ 'index' => Pages\ListTopics::route('/'), 'create' => Pages\CreateTopic::route('/create'), 'view' => Pages\ViewTopic::route('/{record}'), 'edit' => Pages\EditTopic::route('/{record}/edit'), ]; } However, only the "View" option appears. I created the resource with the following command: sail artisan make:filament-resource Topic --view
2 Replies
LeandroFerreira
LeandroFerreira3mo ago
are you using policies?
GUSTAVO2755
GUSTAVO2755OP3mo ago
Not for this model But i use policy for comments That has a relationship with this resources model

Did you find this page helpful?