Sha256: b11af3914194cddcec72857c6b2047eff94b431bcc559989082d859f360d8288

Contents?: true

Size: 333 Bytes

Versions: 3

Compression:

Stored size: 333 Bytes

Contents

<script>
  Spree.routes = <%== {
    :product_search       => spree.admin_products_path(:format => 'json'),
    :product_search_basic => spree.admin_products_path(:format => 'json', :json_format => 'basic', :limit => 10),
    :user_search          => spree.admin_users_path(:format => 'json', :limit => 10)
  }.to_json 
%>
</script>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_core-1.1.6 app/views/spree/admin/shared/_routes.html.erb
spree_core-1.1.5 app/views/spree/admin/shared/_routes.html.erb
spree_core-1.1.4 app/views/spree/admin/shared/_routes.html.erb