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

14 lines
223 B
Ruby
Raw Normal View History

2012-01-07 04:07:36 -05:00
require 'active_support/benchmarkable'
module ActionView
module Helpers
module BenchmarkHelper
include ActiveSupport::Benchmarkable
def benchmark(*)
capture { super }
end
end
end
end