mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
bf095770e5
block. Breaks benchmark calls that return non-String values otherwise.
Revert "add benchmark helper that works in erb"
This reverts commit 904e544cc8
.
Conflicts:
actionpack/lib/action_view/helpers.rb
actionpack/lib/action_view/helpers/benchmark_helper.rb
actionpack/test/template/benchmark_helper_test.rb
58 lines
1.5 KiB
Ruby
58 lines
1.5 KiB
Ruby
require 'active_support/benchmarkable'
|
|
|
|
module ActionView #:nodoc:
|
|
module Helpers #:nodoc:
|
|
extend ActiveSupport::Autoload
|
|
|
|
autoload :ActiveModelHelper
|
|
autoload :AssetTagHelper
|
|
autoload :AssetUrlHelper
|
|
autoload :AtomFeedHelper
|
|
autoload :CacheHelper
|
|
autoload :CaptureHelper
|
|
autoload :ControllerHelper
|
|
autoload :CsrfHelper
|
|
autoload :DateHelper
|
|
autoload :DebugHelper
|
|
autoload :FormHelper
|
|
autoload :FormOptionsHelper
|
|
autoload :FormTagHelper
|
|
autoload :JavaScriptHelper, "action_view/helpers/javascript_helper"
|
|
autoload :NumberHelper
|
|
autoload :OutputSafetyHelper
|
|
autoload :RecordTagHelper
|
|
autoload :RenderingHelper
|
|
autoload :SanitizeHelper
|
|
autoload :TagHelper
|
|
autoload :TextHelper
|
|
autoload :TranslationHelper
|
|
autoload :UrlHelper
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
include ActiveSupport::Benchmarkable
|
|
include ActiveModelHelper
|
|
include AssetTagHelper
|
|
include AssetUrlHelper
|
|
include AtomFeedHelper
|
|
include CacheHelper
|
|
include CaptureHelper
|
|
include ControllerHelper
|
|
include CsrfHelper
|
|
include DateHelper
|
|
include DebugHelper
|
|
include FormHelper
|
|
include FormOptionsHelper
|
|
include FormTagHelper
|
|
include JavaScriptHelper
|
|
include NumberHelper
|
|
include OutputSafetyHelper
|
|
include RecordTagHelper
|
|
include RenderingHelper
|
|
include SanitizeHelper
|
|
include TagHelper
|
|
include TextHelper
|
|
include TranslationHelper
|
|
include UrlHelper
|
|
end
|
|
end
|