Sha256: 42f9e4a8f532829282b47f7f87848f636a45f26c5a8f0b8cf63bb03787864452

Contents?: true

Size: 288 Bytes

Versions: 2

Compression:

Stored size: 288 Bytes

Contents

require "#{File.dirname(__FILE__)}/helpers/view_helper"

module Cactus
  module Rails
    class Engine < ::Rails::Engine
      initializer "cactus" do
        ActiveSupport.on_load(:action_controller) do
          include Cactus::Rails::ViewHelper
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cactus-0.2.1 lib/cactus/rails/engine.rb
cactus-0.2.0 lib/cactus/rails/engine.rb