I created haml-partial which I want to use as the default header. When visualizing this option, I can optionally provide it with a block to replace part of the default content.
I have tried several things:
render partial: "partial", capture: do
Any other options that I don't know about?
ruby-on-rails ruby-on-rails-4 rendering partial-views haml
Tim baas
source share