config/routes.rb in moneytree-rails-0.1.3 vs config/routes.rb in moneytree-rails-0.1.4
- old
+ new
@@ -1,4 +1,8 @@
Moneytree::Engine.routes.draw do
get 'oauth/stripe/new', to: 'oauth/stripe#new'
get 'oauth/stripe/callback', to: 'oauth/stripe#callback'
+
+ namespace :webhooks do
+ resources :stripe, only: :create
+ end
end