ff97df204c0888f109832fd962137efee9967946
[depot.git] / helpers.rb
1 Dir.entries(File.expand_path("#{File.dirname(__FILE__)}/helpers")).sort.each do |file|
2 next unless file =~ /^([a-z][a-z_]*_helper).rb$/
3 require "action_view/helpers/#{$1}"
4 end
5
6 module ActionView #:nodoc:
7 module Helpers #:nodoc:
8 def self.included(base)
9 base.extend(ClassMethods)
10 end
11
12 module ClassMethods
13 include SanitizeHelper::ClassMethods
14 end
15
16 include ActiveRecordHelper
17 include AssetTagHelper
18 include AtomFeedHelper
19 include BenchmarkHelper
20 include CacheHelper
21 include CaptureHelper
22 include DateHelper
23 include DebugHelper
24 include FormHelper
25 include FormOptionsHelper
26 include FormTagHelper
27 include NumberHelper
28 include PrototypeHelper
29 include RecordIdentificationHelper
30 include RecordTagHelper
31 include SanitizeHelper
32 include ScriptaculousHelper
33 include TagHelper
34 include TextHelper
35 include TranslationHelper
36 include UrlHelper
37 end
38 end