Sha256: 12f181098cd1f52feb6e82a81aa11e7f3b79a6d430b686e9d5e327a810bb0fa8

Contents?: true

Size: 432 Bytes

Versions: 12

Compression:

Stored size: 432 Bytes

Contents

<script>
  if (Spree === undefined) {
    var Spree = {};
  }
  if (Spree.routes == undefined) {
    Spree.routes = {};
  }
  Spree.routes.states_search = "<%= spree.api_states_path(:format => 'json') %>";
  Spree.routes.apply_coupon_code = function(order_id) {
    return "<%= spree.api_orders_path %>/" + order_id + "/apply_coupon_code";
  }
  Spree.routes.root = "<%= spree.root_url if spree.respond_to? :root_url %>";
</script>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spree_core-2.2.14 app/views/spree/shared/_routes.html.erb
spree_core-2.2.13 app/views/spree/shared/_routes.html.erb
spree_core-2.2.12 app/views/spree/shared/_routes.html.erb
spree_core-2.2.11 app/views/spree/shared/_routes.html.erb
spree_core-2.2.10 app/views/spree/shared/_routes.html.erb
spree_core-2.2.9 app/views/spree/shared/_routes.html.erb
spree_core-2.2.8 app/views/spree/shared/_routes.html.erb
spree_core-2.2.7 app/views/spree/shared/_routes.html.erb
spree_core-2.2.6 app/views/spree/shared/_routes.html.erb
spree_core-2.2.5 app/views/spree/shared/_routes.html.erb
spree_core-2.2.4 app/views/spree/shared/_routes.html.erb
spree_core-2.2.3 app/views/spree/shared/_routes.html.erb