OSDN Git Service

temp
[pettanr/pettanr.git] / app / controllers / scrolls_controller.rb
index 863243e..6d96c1d 100644 (file)
@@ -29,12 +29,7 @@ class ScrollsController < ApplicationController
         end
       }
       format.json { render json: @item.to_json(Scroll.show_json_opt) }
-      format.prof { 
-        @profiler = @@profiler_manager.open(@item, @operators)
-        render :template => 'system/prof', :locals => {
-          :profiler => @profiler
-        }
-      }
+      format_prof format
       format.atom 
       format.rss 
     end