From 1dccc0252a7d38686e8d83aa43f97eb26cfb9672 Mon Sep 17 00:00:00 2001 From: Ryan Bates Date: Fri, 6 Aug 2010 15:05:24 -0700 Subject: [PATCH] removing :resource option from rdocs since it's not longer used --- lib/cancan/controller_additions.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/cancan/controller_additions.rb b/lib/cancan/controller_additions.rb index 79a5e6e..8670e5f 100644 --- a/lib/cancan/controller_additions.rb +++ b/lib/cancan/controller_additions.rb @@ -148,10 +148,6 @@ module CanCan # [:+instance_name+] # The name of the instance variable for this resource. # - # [:+resource+] - # The class to use for the model (string or constant). Alternatively pass a symbol - # to represent a resource which does not have a class. - # def authorize_resource(*args) ControllerResource.add_before_filter(self, :authorize_resource, *args) end