lib/faml/railtie.rb in faml-0.3.1 vs lib/faml/railtie.rb in faml-0.3.2

- old
+ new

@@ -1,8 +1,8 @@ module Faml class Railtie < ::Rails::Railtie initializer :faml do |app| - require 'faml/rails_handler' + require_relative 'rails_handler' ActionView::Template.register_template_handler(:haml, Faml::RailsHandler.new) ActionView::Template.register_template_handler(:faml, Faml::RailsHandler.new) end end end