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

Version Path
erp_app-3.1.8 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.7 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.6 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.5 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.4 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.3 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.2 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.0.16 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.0.15 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.1 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.1.0 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.0.14 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.0.13 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.0.12 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.0.10 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.0.9 lib/erp_app/extensions/railties/action_view/base.rb
erp_app-3.0.8 lib/erp_app/extensions/railties/action_view/base.rb