Java代码
  1. class AssetController < ActionController
  2. around_filter (:only => :assets) do |controller,action_block|
  3. controller.benchmark("Benchmarking...") { action_block.call }
  4. end
  5. ...
  6. end

相关文章:

  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-12
  • 2022-12-23
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案