LayoutFilter is deprecated from now on.

This commit is contained in:
Jakub Stastny aka botanicus 2011-05-26 08:24:31 +02:00
parent b5ae0a7562
commit cd2273da6f
5 changed files with 34 additions and 34 deletions

View file

@ -8,7 +8,7 @@ require "ace/filters"
# - metadata
# - config
class Post < Ace::Item
before Ace::LayoutFilter, layout: "post.html"
before Ace::TemplateFilter, layout: "post.html"
def document
Nokogiri::HTML(self.content)

View file

@ -1,7 +1,7 @@
# encoding: utf-8
class Tag < Ace::Item
before Ace::LayoutFilter, layout: "tag.html"
before Ace::TemplateFilter, layout: "tag.html"
end
class TagPagesGenerator