Remove unnecessary self.tags.flatten! in favour of a one-line sol'n.

This commit is contained in:
Parker Moore 2013-04-26 20:59:54 +02:00
parent 422a4bd5cd
commit f7841d1713
1 changed files with 1 additions and 2 deletions

View File

@ -67,8 +67,7 @@ module Jekyll
end
def populate_tags
self.tags = self.data.pluralized_array("tag", "tags")
self.tags.flatten!
self.tags = self.data.pluralized_array("tag", "tags").flatten
end
# Get the full path to the directory containing the post files