Sha256: 16e6164d880f98853e0f0de5a54e8fc9055e267f8e3cbb0826a0260184ef601e

Contents?: true

Size: 571 Bytes

Versions: 1

Compression:

Stored size: 571 Bytes

Contents

require 'spiral_form/helper'
module SpiralForm
  class Engine < ::Rails::Engine
    isolate_namespace SpiralForm
    initializer 'spiral_form.action_controller_helpers' do
      ActiveSupport.on_load :action_controller do
        include SpiralForm::Helper
      end
    end
  end
end



require 'spiral_form/view_helper'
module SpiralForm
  class Engine < ::Rails::Engine
    isolate_namespace SpiralForm
    initializer 'spiral_form.action_view_helpers' do
      ActiveSupport.on_load :action_view do
        include SpiralForm::ViewHelper
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spiral_form-0.1.1 lib/spiral_form/engine.rb