mcconkiee
1/28/2014 - 12:50 PM

load page specific javascript

load page specific javascript

<% #place this at top %>
<%= javascript_include_tag "application" %>
<%= yield :javascript_includes %>
<% #place this in header %>
<% content_for :javascript_includes do %>
  <%= javascript_include_tag "forms.js" %>
<% end %>