You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thats not a bug, that can't be solved in a different way. It's the same in a Erb or Haml Template where you need to place a = yield oder <%= yield %> to capture the output.
You can use this, if you don't want the wrapping div:
i create controller
app/controllers/test_controller.rb
replace layout
app/viewslayouts/application.html.arb
and add template
app/views/test/index.html.arb
but when i load page it generates output body like:
but when i change
app/viewslayouts/application.html.arb
likeyield works correct
there is no such problem with erb templates
The text was updated successfully, but these errors were encountered: