redhataccess / foreman-plugin

Container for Foreman Plugin
13 stars 20 forks source link

Rails 5 compat - before_filter -> before_action #15

Closed dLobatog closed 6 years ago

dLobatog commented 6 years ago

The syntax changed in a way that's not backwards-compatible anymore. Without this change we get an error

undefined method `before_filter' for RedhatAccess::Api::ApiController:Class