×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Ruby
Posted by: Solr Trovaprezzi
Added: Nov 26, 2015 10:26 AM
Views: 9
  1. # Layout
  2. <head>
  3.     <%= yield :header_includes %>
  4. </head>
  5.  
  6.  
  7. # View
  8. <% content_for :header_includes do %>
  9.     my header text
  10. <% end %>
  11.