Sha256: a5415f2b7394d960a666fb767ca415bc725ab99bf8220066b1090296e193d28f
Contents?: true
Size: 606 Bytes
Versions: 4
Compression:
Stored size: 606 Bytes
Contents
SolidusSubscriptions::Engine.routes.draw do namespace :api do namespace :v1 do resources :line_items, only: [:update, :destroy] resources :subscriptions, only: [:update] do member do post :cancel post :skip end end end end end Spree::Core::Engine.routes.draw do mount SolidusSubscriptions::Engine, at: '/subscriptions' namespace :admin do resources :subscriptions, only: [:index, :new, :create, :edit, :update] do delete :cancel, on: :member post :activate, on: :member post :skip, on: :member end end end
Version data entries
4 entries across 4 versions & 1 rubygems