Sha256: 4743a267f2f24d86f860043e50c94de4122a89526fa9d9058b7a166e96e92cb5

Contents?: true

Size: 482 Bytes

Versions: 9

Compression:

Stored size: 482 Bytes

Contents

#require all ActionView helper files
Dir.entries(File.join(File.dirname(__FILE__),"helpers")).delete_if{|name| name =~ /^\./}.each do |file|
  require "erp_app/extensions/railties/action_view/helpers/#{file}"
end

ActionView::Base.class_eval do
  include ErpApp::Extensions::Railties::ActionView::Helpers::IncludeHelper
  include ErpApp::Extensions::Railties::ActionView::Helpers::TagHelper
  include ErpApp::Extensions::Railties::ActionView::Helpers::ActiveExtHelper
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
erp_app-4.0.0 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.16 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.15 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.14 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.13 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.12 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.11 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.10 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.9 lib/erp_app/extensions/railties/action_view/base.rb