removing :resource option from rdocs since it's not longer used
This commit is contained in:
parent
75ce2bdefa
commit
1dccc0252a
|
@ -148,10 +148,6 @@ module CanCan
|
||||||
# [:+instance_name+]
|
# [:+instance_name+]
|
||||||
# The name of the instance variable for this resource.
|
# 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)
|
def authorize_resource(*args)
|
||||||
ControllerResource.add_before_filter(self, :authorize_resource, *args)
|
ControllerResource.add_before_filter(self, :authorize_resource, *args)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user