User app updates

This commit is contained in:
2014-03-27 21:51:16 +01:00
parent 6af7dc74af
commit e179f6e582
37 changed files with 362 additions and 53 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
class ListSerializer < Qwaiter::Serializer
# user ids for facebook pictures
embed :ids
#embed :ids
attributes :state, :needs_help, :needs_payment, :is_paid, :price, :table_id, :table_number, :section_id, :has_active_orders, :user_ids
def has_active_orders
object.has_active_orders?
end
#def has_active_orders
#object.has_active_orders?
#end
end