Load haml/template in Railtie

Resolves #636
This commit is contained in:
Norman Clarke 2013-03-02 10:07:41 -08:00
parent eb209299d6
commit 808b125f78
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ end
module Haml
class Railtie < ::Rails::Railtie
initializer :haml do |app|
require "haml/template"
if defined?(::Sass::Rails::SassTemplate) && app.config.assets.enabled
require "haml/sass_rails_filter"
end