<div>
  <h1>Please select the Subject in the hierarchy tree where you would like to add your new Subject</h1>
</div>
<div id="relation_tree_container">
</div>
<%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %>
<%= javascript_on_load do %>
  $("#relation_tree_container").kmapsFancytree({
    featureId: "",
    termIndex: "<%= Feature.config.url %>",
    assetIndex: "<%= Flare.config.asset_url %>",
    perspective: "<%= current_perspective.code %>",
    tree: "<%= Feature.uid_prefix %>", //subjects
    domain: "<%= Feature.uid_prefix %>", //subjects
    seedTree: {
      descendants: true,
      directAncestors: true,
    },
    displayPopup: true
  });
<% end %>

<div>
  <h1>Please select the Subject in the hierarchy tree where you would like to add your new Subject</h1>
</div>
<div id="relation_tree_container">
</div>
<%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %>
<%= javascript_on_load do %>
  $("#relation_tree_container").kmapsFancytree({
    featureId: "",
    featuresPath: "<%= new_admin_feature_path %>?parent_id=%%ID%%",
    termIndex: "<%= Feature.config.url %>",
    assetIndex: "<%= Flare.config.asset_url %>",
    perspective: "<%= current_perspective.code %>",
    tree: "<%= Feature.uid_prefix %>", //subjects
    domain: "<%= Feature.uid_prefix %>", //subjects
    seedTree: {
      descendants: true,
      directAncestors: true,
    },
    displayPopup: true
  });
<% end %>

Fix url in select_ancestor partial
Fix url in select_ancestor partial

Fixed the link in the tree to redirect to the correct feature.
