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
This may not affect many people but suppose I have a helper like this:
defheader(text)content_for(:header,text)end
helpers.header('ohai') won't work in component views even tho it works fine in normal views, and even tho content_for(:header, 'ohai') works fine. I have a pretty clear mental model of why this is happening but just wanted to point it out. Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This may not affect many people but suppose I have a helper like this:
helpers.header('ohai')
won't work in component views even tho it works fine in normal views, and even thocontent_for(:header, 'ohai')
works fine. I have a pretty clear mental model of why this is happening but just wanted to point it out. Thanks.Beta Was this translation helpful? Give feedback.
All reactions