Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:400749
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 %>
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.