Reduce some duplication in the articles controller