Sha256: 15dd0cb28a48b90ac99c6d47b33a0f68d230aec81a698f185dc5f8e76191bc08

Contents?: true

Size: 648 Bytes

Versions: 2

Compression:

Stored size: 648 Bytes

Contents

require File.join(File.dirname(__FILE__), 'app', 'helpers', 'lrd_view_helper')
require File.join(File.dirname(__FILE__), 'app', 'helpers', 'lrd_debug_helper')
require File.join(File.dirname(__FILE__), 'app', 'helpers', 'lrd_form_helper')

module LRD::DevTools
  class Railtie < Rails::Railtie
    initializer "LRDDevTools" do
      ActionController::Base.helper(LRD::ViewHelper)
      ActionController::Base.helper(LRD::DebugHelper)
      ActionView::Helpers::FormHelper.send(:include, LRD::FormHelper)
      ActionView::Base.send(:include, LRD::FormHelper)
      ActionView::Helpers::FormBuilder.send(:include, LRD::FormBuilder)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lrd_view_tools-0.1.5 lib/lrd_view_tools.rb
lrd_view_tools-0.1.4 lib/lrd_view_tools.rb