Created
June 21, 2014 07:11
-
-
Save RSO/7cab7a97af0388f12493 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% content_for :base_content do %> | |
<h1>Application</h1> | |
<%= yield %> | |
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta name="example"> | |
</head> | |
<%= body_tag do %> | |
<%= yield :base_content %> | |
<% end %> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% content_for :base_content do %> | |
<h1>Way different layout</h1> | |
<p>Except for the head and body tags of course</p> | |
<%= yield %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment