Created
April 22, 2013 18:08
-
-
Save TXDynamics/5437178 to your computer and use it in GitHub Desktop.
Render Rails Shims. Same technique
for using includes in php views
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
<!--The render command is used by rails to call shims and render them inside of your views--> | |
<!--shims have to be named the following _shimname.html.erb--> | |
<%= render 'layouts/header' %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment