We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: