私の Rails アプリでは、外部エンジンをマウントしています。に がありbefore_filter
、ApplicationController
エンジンのアクションの一部をこのフィルタから除外する必要があります。
通常、skip_before_filter
それぞれのコントローラーで使用しますが、エンジン コード自体は私のものではないため、触れたくありません。
これを行う方法はありますか?
class ApplicationController < ActionController::Base
before_filter :authorize, :except => [:engine/setup] # something like this?
...
ありがとう、
PJ