Refactor flag types for more customization

This commit is contained in:
Robin Ward
2017-10-17 13:31:45 -04:00
parent e600fb79b3
commit 838568cbc3
26 changed files with 253 additions and 82 deletions

View File

@ -184,7 +184,7 @@ after_initialize do
if self.user.enqueue_narrative_bot_job?
input =
case self.post_action_type_id
when *PostActionType.flag_types.values
when *PostActionType.flag_types_without_custom.values
:flag
when PostActionType.types[:like]
:like