-
Hi, |
Beta Was this translation helpful? Give feedback.
Answered by
pboivin
Aug 6, 2021
Replies: 1 comment
-
Hey @EPInformatyka, If I understand correctly, you want to get some data that exists in a block and use it from a controller, not from a blade view. This will depend on the structure of your project, but here's a quick example that should get you going. Let's say you have an instance of a
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PL-Antony
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @EPInformatyka,
If I understand correctly, you want to get some data that exists in a block and use it from a controller, not from a blade view. This will depend on the structure of your project, but here's a quick example that should get you going.
Let's say you have an instance of a
Project
model and want to fetch thetitle
property from the first block: