Skip to content
Discussion options

You must be logged in to vote

Hi @woutvdpol i'm not very sure if i correctly understand the requirement you raise, but if what you indicate is that you need to generate as many controllers as your model has enums, you could think about applying a global scope to restrict, for example, the results of the list that will be managed by that controller, here is an example of "addGlobalScope" in our documentation

Cheers

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@woutvdpol
Comment options

@woutvdpol
Comment options

Answer selected by jcastroa87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants