-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add views example to MicroKernelTrait description #7568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a7b3c40
to
1bf5c1b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if we don't display a full Twig inheritance example and just use a simple and minimal HTML template for micro/random.html.twig
?
@javiereguiluz thanks for comment.
Should I leave just |
@dominikhajduk that was my idea ... but looking at it I don't like it 😐 Let's ping @HeahDude, @wouterj and @xabbuh to ask their opinion. Options:
|
Hello there, here some thoughts:
|
1b3e8ac
to
e634637
Compare
Thanks @HeahDude. According to both of you comments I removed "base" and create a full "micro" template. |
I would say: Remove |
@wouterj thanks for comment. You're right that template inheritance is not a key for that page. Removed |
👍 Looks perfect! |
…khajduk) This PR was merged into the 2.8 branch. Discussion ---------- Add views example to MicroKernelTrait description PR after [issue #7348](#7348) reported by @olberger. To make [Building your own Framework with the MicroKernelTrait](http://symfony.com/doc/current/configuration/micro_kernel_trait.html) fully described mentioned `base.html.twig` and `micro/random.html.twig` should be presented. Commits ------- 669b29e Add example views to MicroKernelTrait description
Thank you for these nice improvements @dominikhajduk. I have merged them and made some very minor tweaks in 2d7ea6b. |
PR after issue #7348 reported by @olberger.
To make Building your own Framework with the MicroKernelTrait fully described mentioned
base.html.twig
andmicro/random.html.twig
should be presented.