removing :resource option from rdocs since it's not longer used

This commit is contained in:
Ryan Bates 2010-08-06 15:05:24 -07:00
parent 75ce2bdefa
commit 1dccc0252a

View File

@ -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