users can flag posts as spam

Should these be in the model?  They work here, not sure if it makes a difference.