Skip to content

Instantly share code, notes, and snippets.

@TXDynamics
Created April 22, 2013 18:08
Show Gist options
  • Save TXDynamics/5437178 to your computer and use it in GitHub Desktop.
Save TXDynamics/5437178 to your computer and use it in GitHub Desktop.
Render Rails Shims. Same technique for using includes in php views
<!--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