SammyLin / redactor-rails

This repo is deprecated. Please check out official gem for Redactor 2. https://github.com/Redactor2/redactor2_rails
MIT License
390 stars 254 forks source link

Replace before_filter with before_action #152

Open asiniy opened 8 years ago

asiniy commented 8 years ago

Hey!

I'm using this gem on Rails 5.0, so it says before_filter is deprecated and will be removed on Rails 5.1. Try to use before_action instead

The aim of this PR is to avoid this deprecation message

Review on Reviewable

aglushkov commented 7 years ago

Waiting for this to be merged

asiniy commented 7 years ago

@aglushkov you'll wait a long while :D

Adsidera commented 6 years ago

This before_filter syntax is now incompatible with production systems based on AWS/EC2 and would be nice to have it fixed into the before_action one, since there are other gems using redactor-rails as dependency 😇

allantokuda-zipnosis commented 4 years ago

Bump.