Help Needed with Controller and Route Setup #1098
-
Hello everyone, I'm having some trouble with my Backpack for Laravel setup and could really use some assistance. I have a ProfileCrudController and within this controller, I have a method named drafts which contains the following line of code: $this->setupListOperation(); I have two menu items: One with the link backpack_url('profile') My route settings are as follows: Route::crud('profile', 'ProfileCrudController'); When I navigate to the profile URL, it works perfectly. However, when I click on the profile/drafts link, the page is completely blank with no content displayed. Does anyone have any idea what might be going wrong or how I can fix this issue? Any help would be greatly appreciated! Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @rentaolulin It seems you want to show only draft items. I recommend the following ways to achieve this.
|
Beta Was this translation helpful? Give feedback.
Hey @rentaolulin
It seems you want to show only draft items. I recommend the following ways to achieve this.