diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 04bad4c..cbed8c3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -4,7 +4,7 @@ SolidusSubscriptions::Engine.routes.draw do namespace :api, defaults: { format: :json } do namespace :v1 do resources :line_items, only: [:update, :destroy] - resources :subscriptions, only: [:update] do + resources :subscriptions, only: [:create, :update] do member do post :cancel post :skip |