摘要: Java代码 class AssetController < ActionController around_filter (:only => :assets) do |controller,action_block| controller.benchmark("Benchmarking...") { action_block.call } end ... end 阅读全文
posted @ 2009-12-30 11:06 麦飞 阅读(347) 评论(0) 推荐(0) 编辑