Open thiyagarajanth opened 9 years ago
try: class ApplicationController < ActionController::Base before_filter :sso_filter
private def sso_filter CASClient::Frameworks::Rails::Filter.filter(self) end end
class MyController < ApplicationController before_filter :sso_filter, :except => :index
def index
end end
class ApplicationController < ActionController::Base before_filter CASClient::Frameworks::Rails::Filter end
class MyController < ApplicationController before_filter CASClient::Frameworks::Rails::Filter, :except => :index
def index
But here before_filter is triggered !
end end
above code i want to skip the index action but it does't work what to do?