Sha256: 675128db87250db933bfb4b55db3bf59bbf056e2107b11966b86cf951f41d6a3

Contents?: true

Size: 1.7 KB

Versions: 8

Compression:

Stored size: 1.7 KB

Contents

//= require bootstrap-sprockets
//= require jquery
//= require jquery.cookie
//= require jquery.jstree/jquery.jstree
//= require jquery_ujs
//= require jquery-ui/datepicker
//= require jquery-ui/sortable
//= require jquery-ui/autocomplete
//= require modernizr
//= require underscore-min.js
//= require velocity
//= require spree
//= require spree/backend/spree-select2
//= require_tree .

Spree.routes.clear_cache = Spree.pathFor('admin/general_settings/clear_cache')
Spree.routes.checkouts_api = Spree.pathFor('api/checkouts')
Spree.routes.classifications_api = Spree.pathFor('api/classifications')
Spree.routes.option_type_search = Spree.pathFor('api/option_types')
Spree.routes.option_value_search = Spree.pathFor('api/option_values')
Spree.routes.orders_api = Spree.pathFor('api/orders')
Spree.routes.products_api = Spree.pathFor('api/products')
Spree.routes.product_search = Spree.pathFor('admin/search/products')
Spree.routes.shipments_api = Spree.pathFor('api/shipments')
Spree.routes.checkouts_api = Spree.pathFor('api/checkouts')
Spree.routes.stock_locations_api = Spree.pathFor('api/stock_locations')
Spree.routes.taxon_products_api = Spree.pathFor('api/taxons/products')
Spree.routes.taxons_search = Spree.pathFor('api/taxons')
Spree.routes.user_search = Spree.pathFor('admin/search/users')
Spree.routes.variants_api = Spree.pathFor('api/variants')

Spree.routes.edit_product = function(product_id) {
  return Spree.pathFor('admin/products/' + product_id + '/edit')
}

Spree.routes.payments_api = function(order_id) {
  return Spree.pathFor('api/orders/' + order_id + '/payments')
}

Spree.routes.stock_items_api = function(stock_location_id) {
  return Spree.pathFor('api/stock_locations/' + stock_location_id + '/stock_items')
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_backend-3.0.4 app/assets/javascripts/spree/backend.js
spree_backend-3.0.3 app/assets/javascripts/spree/backend.js
spree_backend-3.0.2 app/assets/javascripts/spree/backend.js
spree_backend-3.0.1 app/assets/javascripts/spree/backend.js
spree_backend-3.0.0 app/assets/javascripts/spree/backend.js
spree_backend-3.0.0.rc4 app/assets/javascripts/spree/backend.js
spree_backend-3.0.0.rc3 app/assets/javascripts/spree/backend.js
spree_backend-3.0.0.rc1 app/assets/javascripts/spree/backend.js