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-12-01 13:17:11 -05:00

13 lines
232 B
Ruby

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