discourse/discourse — pull request #850 by bplexico (2013-05-15 21:36:33+00:00)
Title: Refactored post model to reduce duplication in validator methods

Introduced several private methods to reduce duplication in the methods responsible for validating mentions, images and links.