lib/tilt/alfa_patch.rb in alfa-0.0.5.pre vs lib/tilt/alfa_patch.rb in alfa-0.0.6.pre
- old
+ new
@@ -16,10 +16,10 @@
end
module TemplateInheritance
class Template
def template(options = {})
- options = {:escape_html => true, :raw_interpolated_tags => [:a, :link_to]}.merge(options)
+ options = {:escape_html => true, :raw_interpolated_tags => [:a, :link_to, :a_post, :img, :csrf_token, :csrf_token_tag]}.merge(options)
@template ||= Tilt.new(self.fullpath, nil, options)
end
end
end
\ No newline at end of file