TableMove renamed to UserTableMove
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ class List
|
||||
end
|
||||
|
||||
def move_to_table to_table
|
||||
TableMove.create list: self, from_table_id: table_id, to_table: to_table
|
||||
UserTableMove.create list: self, from_table_id: table_id, to_table: to_table
|
||||
self.table = to_table
|
||||
self.section_id = to_table.section_id
|
||||
save
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class TableMove
|
||||
class UserTableMove
|
||||
include SimplyStored::Couch
|
||||
belongs_to :list
|
||||
belongs_to :from_table, class_name: 'Table'
|
||||
Reference in New Issue
Block a user