everypolitician / webhook-manager

Notifies other apps whenever EveryPolitician data changes, in style of GitHub's webhooks
https://everypolitician-app-manager.herokuapp.com/
1 stars 2 forks source link

Fix webhook editing #76

Closed chrismytton closed 8 years ago

chrismytton commented 8 years ago

This adds a before route which ensures that the @countries instance variable is always set for /webhook routes. Previously it wasn't set for the update view, which resulted in a 500 error.

Fixes #69