TableMove renamed to UserTableMove
This commit is contained in:
BIN
Binary file not shown.
+1
-1
@@ -60,7 +60,7 @@ class List
|
|||||||
end
|
end
|
||||||
|
|
||||||
def move_to_table to_table
|
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.table = to_table
|
||||||
self.section_id = to_table.section_id
|
self.section_id = to_table.section_id
|
||||||
save
|
save
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
class TableMove
|
class UserTableMove
|
||||||
include SimplyStored::Couch
|
include SimplyStored::Couch
|
||||||
belongs_to :list
|
belongs_to :list
|
||||||
belongs_to :from_table, class_name: 'Table'
|
belongs_to :from_table, class_name: 'Table'
|
||||||
Reference in New Issue
Block a user