Merge pull request #2586 from mlorb/ml-sci-4615

Fix missing creator in task details [SCI-4615]
This commit is contained in:
mlorb 2020-05-20 09:47:08 +02:00 committed by GitHub
commit 29370cf82e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,8 @@ class CreateMyModuleService
new_pos = @my_module.get_new_position
@my_module.x = new_pos[:x]
@my_module.y = new_pos[:y]
@my_module.created_by = @user
@my_module.last_modified_by = @user
@my_module.save!
create_my_module_activity