andrewculver / koudoku

Robust subscription support for Rails with Stripe.
MIT License
1.16k stars 187 forks source link

Updated controller before_filter to before_action #180

Closed amdixon closed 6 years ago

amdixon commented 7 years ago

Rails 5.1 deprecated the before_filter method so I've replaced them with the updated syntax before_action. This fixes issue #179.

andrewculver commented 6 years ago

Thanks so much for sending this in! I've got this change and some other Rails 5.1 compatibility things in #184. Really appreciate you sending this!