Skip to content
Create a gist now

Instantly share code, notes, and snippets.

<%= 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(#{})" %>
<% end %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.