Commit 39d0089a authored by Tan Le's avatar Tan Le

Overload method to handle existing calls

This method is called to record audit event for entities
other than `User`. There is more refactor effort required
to rectify those usages.
parent 5b1a28d6
......@@ -120,8 +120,8 @@ module EE
)
end
def for_user
for_custom_model('user', @entity.full_path)
def for_user(full_path = @entity.full_path)
for_custom_model('user', full_path)
end
def for_project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment