fixed co-author relation bug....
This commit is contained in:
1 parent
4ebbd7cb5a
commit
00c8bca957
4 files changed
+15
-12
No files matched your search
@@ -1,8 +1,2 @@
|
||||
module Desktop::CoAuthorRelationsHelper
|
||||
def reset_co_author_relation relation
|
||||
co_author = CoAuthor.where(co_author_relations_id: relation)
|
||||
co_author.map do |c|
|
||||
co_author.update_attributes(co_author_relations_id: nil)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user