Sha256: 86533485fe860d12a5f2270b4371ad4c97aa17f4f8724fa52931a4d8cf18a73a
Contents?: true
Size: 556 Bytes
Versions: 17
Compression:
Stored size: 556 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::ExtjsHelper include ErpApp::Extensions::Railties::ActionView::Helpers::ActiveExtHelper end
Version data entries
17 entries across 17 versions & 1 rubygems