On 19 Aug 2010, at 01:11, Mark Hamil wrote:
> Yeah I'm using the skip_before_filter method too,
> but still, it seems it would be better if you could specify a
> controller/action like your original posts suggests
>
> before_filter :custom_filter, :except => {:controler=>:action}
before_filter :filter_method, :only => :action
or
before_filter :filter_method, :except => :action
See the 'Filter conditions' section of
http://api.rubyonrails.org/classes/ActionController/Filters/ClassMethods.html
Hope that helps,
Jim
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.