title: What is the idiomatic means of organizing this code the "rails way"
body: <p>Within our Rails app, I have several webhooks, called by external services (namely PayPal IPN, Mailgun and Pusher). Currently, each type has it's own controller + necessary routes, for example: </p>
  
  <pre><code>post 'jobs/:job_id/comments/reply' =&gt; 'mailgun#incoming_email_comment'
  post '/webhook' =&gt; 'pusher#webhook'
  post '/paypal/ipn', :to =&gt; 'paypal#ipn', :as =&gt; :paypal_ipn
  </code></pre>
  
  <p>Is there a cleaner, more "rails way" to achieve this?</p>