Sha256: 352fd65c96ae3d4a970c7d9d41f489666f43c932bf6b78ea50c77e46e42dddde

Contents?: true

Size: 233 Bytes

Versions: 10

Compression:

Stored size: 233 Bytes

Contents

module FastHaml
  class Railtie < ::Rails::Railtie
    initializer :fast_haml do |app|
      require 'fast_haml/rails_handler'
      ActionView::Template.register_template_handler(:haml, FastHaml::RailsHandler.new)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fast_haml-0.1.10 lib/fast_haml/railtie.rb
fast_haml-0.1.9 lib/fast_haml/railtie.rb
fast_haml-0.1.8 lib/fast_haml/railtie.rb
fast_haml-0.1.7 lib/fast_haml/railtie.rb
fast_haml-0.1.6 lib/fast_haml/railtie.rb
fast_haml-0.1.5 lib/fast_haml/railtie.rb
fast_haml-0.1.4 lib/fast_haml/railtie.rb
fast_haml-0.1.3 lib/fast_haml/railtie.rb
fast_haml-0.1.2 lib/fast_haml/railtie.rb
fast_haml-0.1.0 lib/fast_haml/railtie.rb