Open avdept opened 9 years ago
Is there any way to do rails-way content_for thing? When you could do like {{yield .Foo}} in layout, while somewhere in views, create this .Foo object, so it'd render in some specific part in layout?
Is there any way to do rails-way content_for thing? When you could do like {{yield .Foo}} in layout, while somewhere in views, create this .Foo object, so it'd render in some specific part in layout?