From cb87b049fbd3caa56aa77e96647240c720af518b Mon Sep 17 00:00:00 2001 From: f Date: Tue, 8 May 2018 18:33:15 -0300 Subject: [PATCH] =?UTF-8?q?fixup!=20las=20etiquetas=20y=20categor=C3=ADas?= =?UTF-8?q?=20siempre=20son=20un=20array?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/post.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/post.rb b/app/models/post.rb index 7b2ff40e..55a6f37d 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -137,11 +137,11 @@ class Post end def tags - get_front_matter 'tags' || [] + get_front_matter('tags') || [] end def categories - get_front_matter 'categories' || [] + get_front_matter('categories') || [] end alias :category :categories