Sha256: 826d00104039262a367bf7d25925fdbb3013133e661cb18b957831d7d0e67897
Contents?: true
Size: 249 Bytes
Versions: 1
Compression:
Stored size: 249 Bytes
Contents
Spree::Core::Engine.routes.draw do # Add your extension routes here namespace :api, defaults: { format: 'json' } do namespace :v1 do resources :devices, only: [:create] end end resources :devices, only: %i[index destroy] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_devices-1.2.0 | config/routes.rb |