<script>
  Spree.routes = <%== {
    :variants_search       => spree.admin_search_variants_path(:format => 'json'),
    :taxons_search         => main_app.api_taxons_path(:format => 'json'),
    :orders_api            => main_app.api_orders_path
  }.to_json %>;
</script>
