Don't allow users to double flag stuff

Correct seed fu to match model
This commit is contained in:
Sam Saffron
2013-02-07 10:45:58 +11:00
parent 204a8a8b52
commit f79f0e740a
5 changed files with 26 additions and 4 deletions

View File

@@ -27,6 +27,13 @@ PostActionType.seed do |s|
s.position = 4
end
PostActionType.seed do |s|
s.id = PostActionType.Types[:vote]
s.name_key = 'vote'
s.is_flag = false
s.position = 5
end
PostActionType.seed do |s|
s.id = PostActionType.Types[:spam]
s.name_key = 'spam'