Replies: 1 comment 4 replies
-
@rabol Resources are pretty tightly-bound to models. You'd be better off making a custom page and using a |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I'm trying to build a simple log viewer for.
Step one is to display a collection of log files, then when one is clicked, open and parse the log and display
so, all files I can get as a collection, the passed log I also have as a collection, but the Resource page is really fixed on a Eloquent collection
I have tried to create a model and then on the fly create 'records' that is not saved to the DB, but then I get an exception that that the collection does not have a method called hasPages()
Am I taking the wrong approach ?
Beta Was this translation helpful? Give feedback.
All reactions