1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_view/helpers/benchmark_helper.rb
2012-01-07 12:17:48 +03:00

13 lines
223 B
Ruby

require 'active_support/benchmarkable'
module ActionView
module Helpers
module BenchmarkHelper
include ActiveSupport::Benchmarkable
def benchmark(*)
capture { super }
end
end
end
end