Sha256: 1b84eeca7fa87269d6ae68bf04fb1efd8414daab7f68234c9fc749e31a6a456b

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

require 'rails/railtie'

module Kugiru
  class Railtie < Rails::Railtie
    initializer :kugiru do
      ActiveSupport.on_load :action_view do
        require 'kugiru/handler'
        ActionView::Template.register_template_handler :cb, Kugiru::Handler
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kugiru-0.1.1 lib/kugiru/railtie.rb
kugiru-0.1.0 lib/kugiru/railtie.rb