Yes, you can apply a filter to any (public) action. Don''t forget that
if you want to restrict it to your new action then you can use
the :only param as well...
after_filter :clean_up_on_aisle_five, :only=>:aisle_five
On Feb 20, 1:52 pm, "John Kopanas"
<kopa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Can I put an after style filter on a method that is part of a model that is
> not a create, update, destroy? :-)
>
> --
> John Kopanas
> j...-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org
>
> Blog:http://www.kopanas.com
> Conference:http://www.cusec.net
> Twits:http://www.twitter.com/kopanas
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---