0
class ApplicationController < ActionController::Base
def func
end
end
class BaseController < ApplicationController
def func(a)
end
end
class MyController < BaseController
before_filter :funC# I want this to call ApplicationController::func
end
在這種情況下,調用BaseController :: func。我如何調用ApplicationController的?用重寫函數處理before_filter