mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Simply require rather than autoload + immediately load below
also, requires are sorted a little bit along with the dependency orders
This commit is contained in:
parent
02bfb03c8e
commit
7a8c1f52d6
1 changed files with 23 additions and 23 deletions
|
@ -1,34 +1,34 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "active_support/benchmarkable"
|
||||
require "action_view/helpers/capture_helper"
|
||||
require "action_view/helpers/output_safety_helper"
|
||||
require "action_view/helpers/tag_helper"
|
||||
require "action_view/helpers/url_helper"
|
||||
require "action_view/helpers/sanitize_helper"
|
||||
require "action_view/helpers/text_helper"
|
||||
require "action_view/helpers/active_model_helper"
|
||||
require "action_view/helpers/asset_tag_helper"
|
||||
require "action_view/helpers/asset_url_helper"
|
||||
require "action_view/helpers/atom_feed_helper"
|
||||
require "action_view/helpers/cache_helper"
|
||||
require "action_view/helpers/controller_helper"
|
||||
require "action_view/helpers/csp_helper"
|
||||
require "action_view/helpers/csrf_helper"
|
||||
require "action_view/helpers/date_helper"
|
||||
require "action_view/helpers/debug_helper"
|
||||
require "action_view/helpers/form_tag_helper"
|
||||
require "action_view/helpers/form_helper"
|
||||
require "action_view/helpers/form_options_helper"
|
||||
require "action_view/helpers/javascript_helper"
|
||||
require "action_view/helpers/number_helper"
|
||||
require "action_view/helpers/rendering_helper"
|
||||
require "action_view/helpers/translation_helper"
|
||||
|
||||
module ActionView #:nodoc:
|
||||
module Helpers #:nodoc:
|
||||
extend ActiveSupport::Autoload
|
||||
|
||||
autoload :ActiveModelHelper
|
||||
autoload :AssetTagHelper
|
||||
autoload :AssetUrlHelper
|
||||
autoload :AtomFeedHelper
|
||||
autoload :CacheHelper
|
||||
autoload :CaptureHelper
|
||||
autoload :ControllerHelper
|
||||
autoload :CspHelper
|
||||
autoload :CsrfHelper
|
||||
autoload :DateHelper
|
||||
autoload :DebugHelper
|
||||
autoload :FormHelper
|
||||
autoload :FormOptionsHelper
|
||||
autoload :FormTagHelper
|
||||
autoload :JavaScriptHelper, "action_view/helpers/javascript_helper"
|
||||
autoload :NumberHelper
|
||||
autoload :OutputSafetyHelper
|
||||
autoload :RenderingHelper
|
||||
autoload :SanitizeHelper
|
||||
autoload :TagHelper
|
||||
autoload :TextHelper
|
||||
autoload :TranslationHelper
|
||||
autoload :UrlHelper
|
||||
autoload :Tags
|
||||
|
||||
def self.eager_load!
|
||||
|
|
Loading…
Reference in a new issue