<%= application_const_base %>::<%= class_name %>::Engine.routes.draw do
namespace :webhooks do post :hook1, to: 'events#hook1' end
end
<%= application_const_base %>::<%= class_name %>::Engine.routes.draw do
namespace :webhooks do post :hook1, to: 'events#hook1' end
end