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
ERB (that ships with Ruby) doesn't support block helpers by default. I'm guessing Sinatra uses a different template engine and it's somehow not being registered. It's a bit difficult for me to help without knowing the approach that Sinatra uses.
@judofyr thanks for your response. Sinatra uses ERB unless the erubis gem is loaded. I don't think either support block helpers as you mentioned. Do you know of any options to provide support for this syntax?
Potentially related to sinatra/sinatra#1480
Rendering
<%= yield_content :title do %>Default Title<% end %>
throws a SyntaxError in tilt'stemplate.rb
.The text was updated successfully, but these errors were encountered: