Sha256: 0626ad0e0b8eff6fe65447e5bc438ae5ab75dba7a7f87f1bde60855bcbbc98f0

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true
module Faml
  class Railtie < ::Rails::Railtie
    initializer :faml do
      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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faml-0.8.1 lib/faml/railtie.rb
faml-0.8.0 lib/faml/railtie.rb