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