config/routes.rb in bobot-1.0.53 vs config/routes.rb in bobot-2.1.0
- old
+ new
@@ -1,6 +1,5 @@
Bobot::Engine.routes.draw do
controller 'webhook' do
- match 'facebook', action: :notify, via: :post, as: :facebook_notify
- match 'facebook', action: :verify, via: :get, as: :facebook_verify
+ match 'facebook', action: :webhook, via: [:get, :post]
end
end