<script>
  Spree.routes = <%== {
    :variants_search       => admin_search_variants_path(:format => 'json'),
    :taxon_search          => spree.api_taxons_path(:format => 'json'),
    :user_search           => spree.admin_search_users_path(:format => 'json'),
    :product_search        => spree.api_products_path(:format => 'json'),
    :option_type_search    => spree.api_option_types_path(:format => 'json'),
    :states_search         => spree.api_states_path(:format => 'json')
  }.to_json %>;
</script>

<script>
  Spree.routes = <%== {
    :variants_search       => admin_search_variants_path(:format => 'json'),
    :taxons_search         => spree.api_taxons_path(:format => 'json'),
    :user_search           => spree.admin_search_users_path(:format => 'json'),
    :product_search        => spree.api_products_path(:format => 'json'),
    :option_type_search    => spree.api_option_types_path(:format => 'json'),
    :states_search         => spree.api_states_path(:format => 'json')
  }.to_json %>;
</script>

Fix Spree taxons route reference
Fix Spree taxons route reference
