mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use ActiveSupport::Autoload to autoload the tags
This commit is contained in:
parent
d4248fa02a
commit
b184fabb78
1 changed files with 25 additions and 23 deletions
|
@ -1,28 +1,30 @@
|
|||
module ActionView
|
||||
module Helpers
|
||||
module Tags
|
||||
autoload :Base, 'action_view/helpers/tags/base'
|
||||
autoload :Label, 'action_view/helpers/tags/label'
|
||||
autoload :TextField, 'action_view/helpers/tags/text_field'
|
||||
autoload :PasswordField, 'action_view/helpers/tags/password_field'
|
||||
autoload :HiddenField, 'action_view/helpers/tags/hidden_field'
|
||||
autoload :FileField, 'action_view/helpers/tags/file_field'
|
||||
autoload :SearchField, 'action_view/helpers/tags/search_field'
|
||||
autoload :TelField, 'action_view/helpers/tags/tel_field'
|
||||
autoload :UrlField, 'action_view/helpers/tags/url_field'
|
||||
autoload :EmailField, 'action_view/helpers/tags/email_field'
|
||||
autoload :NumberField, 'action_view/helpers/tags/number_field'
|
||||
autoload :RangeField, 'action_view/helpers/tags/range_field'
|
||||
autoload :TextArea, 'action_view/helpers/tags/text_area'
|
||||
autoload :CheckBox, 'action_view/helpers/tags/check_box'
|
||||
autoload :RadioButton, 'action_view/helpers/tags/radio_button'
|
||||
autoload :Select, 'action_view/helpers/tags/select'
|
||||
autoload :CollectionSelect, 'action_view/helpers/tags/collection_select'
|
||||
autoload :GroupedCollectionSelect, 'action_view/helpers/tags/grouped_collection_select'
|
||||
autoload :TimeZoneSelect, 'action_view/helpers/tags/time_zone_select'
|
||||
autoload :DateSelect, 'action_view/helpers/tags/date_select'
|
||||
autoload :TimeSelect, 'action_view/helpers/tags/time_select'
|
||||
autoload :DatetimeSelect, 'action_view/helpers/tags/datetime_select'
|
||||
module Tags #:nodoc:
|
||||
extend ActiveSupport::Autoload
|
||||
|
||||
autoload :Base
|
||||
autoload :Label
|
||||
autoload :TextField
|
||||
autoload :PasswordField
|
||||
autoload :HiddenField
|
||||
autoload :FileField
|
||||
autoload :SearchField
|
||||
autoload :TelField
|
||||
autoload :UrlField
|
||||
autoload :EmailField
|
||||
autoload :NumberField
|
||||
autoload :RangeField
|
||||
autoload :TextArea
|
||||
autoload :CheckBox
|
||||
autoload :RadioButton
|
||||
autoload :Select
|
||||
autoload :CollectionSelect
|
||||
autoload :GroupedCollectionSelect
|
||||
autoload :TimeZoneSelect
|
||||
autoload :DateSelect
|
||||
autoload :TimeSelect
|
||||
autoload :DatetimeSelect
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue