config/routes.rb in mailkick-1.2.2 vs config/routes.rb in mailkick-1.3.0
- old
+ new
@@ -4,9 +4,9 @@
end
end
Mailkick::Engine.routes.draw do
resources :subscriptions, only: [:show] do
- get :unsubscribe, on: :member
+ match :unsubscribe, on: :member, via: [:get, :post]
get :subscribe, on: :member
end
end