This commit is contained in:
Sdogruyol 2016-07-09 18:57:35 +03:00
parent 2af03085d2
commit 73d6123f3d
4 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,6 @@
Hello <%= name %>
<% content_for "custom" do |io| %>
io << "<h1> Hello from otherside </h1>"
io
<% end %>

View file

@ -0,0 +1,3 @@
<html><%= content %></html>
<%= yield_content "custom" %>