public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6
<%= content_for(:javascript) do %>
<%= javascript_tag "save_related_category_src(#{@category.categories.any?})"%>
<%- for category in @category.categories do %>
<%= javascript_tag "add_new_related_category(#{category.id})" %>
<% end %>
<% end %>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.