Working around CVE-2012-5664
This commit is contained in:
@@ -129,7 +129,7 @@ module CanCan
|
||||
@params[@options[:id_param]]
|
||||
else
|
||||
@params[parent? ? :"#{name}_id" : :id]
|
||||
end
|
||||
end.to_s
|
||||
end
|
||||
|
||||
def member_action?
|
||||
|
||||
Reference in New Issue
Block a user