Merge branch 'master' of github.com:ZeusWPI/zeus.ugent.be
This commit is contained in:
commit
41f692b845
2 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
-
|
-
|
||||||
rol: Event manager
|
rol: Event manager
|
||||||
naam: Eloïse Piret
|
naam: Eloïse Piret
|
||||||
mail: pr@zeus.ugent.be
|
mail: event@zeus.ugent.be
|
||||||
-
|
-
|
||||||
rol: Projectmanager
|
rol: Projectmanager
|
||||||
naam: Feliciaan De Palmenaer
|
naam: Feliciaan De Palmenaer
|
||||||
|
|
|
@ -8,6 +8,7 @@ module PreprocessHelper
|
||||||
|
|
||||||
def update_blog_attributes
|
def update_blog_attributes
|
||||||
@items.find_all('/blog/**/*').each do |i|
|
@items.find_all('/blog/**/*').each do |i|
|
||||||
|
raise "#{i.identifier} doesn't have 'created_at'" unless i[:created_at]
|
||||||
i.update_attributes(
|
i.update_attributes(
|
||||||
# Tag all posts with article (for Blogging helper)
|
# Tag all posts with article (for Blogging helper)
|
||||||
kind: 'article',
|
kind: 'article',
|
||||||
|
|
Loading…
Reference in a new issue