Urgent help with before filter

hi, i’ve a little problem…i’ve a before filter in the application.rb
which exclude 4 actions, now i’ve to add another, called :index, but
this would work for all indexes, how can i set to exclude only that
index (setting the controller maybe)? i’ve tryed with :except =>
[{:controller => ‘/abc’, :action => :abc}], but this doesn’t work :frowning:

Use skip_before_filter in the specific controller and not exclusion
in the application one.

Val

http://revolutiononrails.blogspot.com/

Val wrote:

Use skip_before_filter in the specific controller and not exclusion
in the application one.

thanks :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs