How to make view page in existing resource ? #13723
PetroGromovo
started this conversation in
General
Replies: 1 comment 10 replies
-
You could just use the helper command and be done with it 🤓 |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On laravel 10/ filament site I have a resource AdminActivityResource which was created
without
--view
optionand in some moment I understood that there no need to edit it, just view so I try to make
it only with view page in file app/Filament/Resources/AdminActivityResource.php I remade :
I manually I created file app/Filament/Resources/AdminActivityResource/Pages/ViewAdminActivity.php :
But running resource I got error :
Route [filament.admin.resources.admin-activities.view] not defined.
In which way have I to add path manually/some console command?
I tried to remake edit page intp "view", but did not find how hide Save button...
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions