liquid_feedback_frontend
view model/privilege.lua @ 288:ad5d7a4eb13d
Fixed 0 more initiatives bug
| author | bsw | 
|---|---|
| date | Sat Feb 25 12:42:42 2012 +0100 (2012-02-25) | 
| parents | b77e6a17ca77 | 
| children | 30f97f4ee644 | 
 line source
     1 Privilege = mondelefant.new_class()
     2 Privilege.table = 'privilege'
     5 Privilege:add_reference{
     6   mode          = 'm1',
     7   to            = "Member",
     8   this_key      = 'member_id',
     9   that_key      = 'id',
    10   ref           = 'member',
    11 }
    13 Privilege:add_reference{
    14   mode          = 'm1',
    15   to            = "Unit",
    16   this_key      = 'unit_id',
    17   that_key      = 'id',
    18   ref           = 'unit',
    19 }
