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
It works when I use <% contentFor("javascripts") { %> and <%= contentOf("javascripts") { %> in the same template file (application.html), but not when the contentFor is in a partial or in the contents (the yielded part).
contentFor
helper behavior changed between versions v3.6.3 (the one gobuffalo.io uses now) and the latest version v3.6.8.Before the upgrade, I used the helper like that:
Now, I need to use the output version (with the
=
):Since
<%=
is for output matters,contentsFor
should use the<%
version: it's only a setter.The text was updated successfully, but these errors were encountered: