On 5/9/05, Sean T Allen <sean-5W9FBhQXBOtBDgjK7y7TUQ@public.gmane.org>
wrote:> is there an already built in way to ''automagically'' set
up
> begin filters to only allow gt or post etc access to different
> controller actions?
Yep, the method is called verify
verify :method=>:post, :redirect_to=>:wrong_method_action_name, :only
=> [:actions, :that, :require, :post]
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
>
--
Cheers
Koz