config/routes.rb in infinum_id-1.6.0 vs config/routes.rb in infinum_id-2.0.0
- old
+ new
@@ -5,12 +5,11 @@
omniauth_callbacks: 'infinum_id/resources/omniauth_callbacks'
}
namespace :infinum_id do
namespace :api do
- scope '/webhooks', :controller => :webhooks do
- post :update_resource_callback
- post :create_resource_callback
+ scope '/webhooks', controller: :webhooks do
+ post :upsert_resource_callback
end
end
end
end