summaryrefslogtreecommitdiff
path: root/app/models/group_permission.rb
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-03-04 05:27:18 -0500
committerPeter Kozak <spag@golwen.net>2013-03-04 05:27:18 -0500
commit92b79f7f1f43a9c95fdbb9df2a85b08eefb6c8d8 (patch)
tree3080d29d272559d1313833a94f27fd7e1fb301ec /app/models/group_permission.rb
parent79797464f29913b18a6591cfbc2cac5b86b30777 (diff)
presence permission type added
Diffstat (limited to 'app/models/group_permission.rb')
-rw-r--r--app/models/group_permission.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/group_permission.rb b/app/models/group_permission.rb
index fe988ba..c859f52 100644
--- a/app/models/group_permission.rb
+++ b/app/models/group_permission.rb
@@ -1,7 +1,7 @@
class GroupPermission < ActiveRecord::Base
attr_accessible :group_id, :permission, :target_group_id
- PERMISSION_TYPES = ['pickup']
+ PERMISSION_TYPES = ['pickup', 'presence']
belongs_to :group
belongs_to :target_group, :class_name => "Group"