Added Ace::Static, it's useful for rendering simple templates like about pages etc.
This commit is contained in:
parent
182dee5ecb
commit
7cca9306a8
1 changed files with 10 additions and 0 deletions
10
lib/ace/static.rb
Normal file
10
lib/ace/static.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require "ace/filters/template"
|
||||
|
||||
# rule Ace::Static, "about.html.haml"
|
||||
module Ace
|
||||
class Static < Item
|
||||
before Ace::TemplateFilter
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue