X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=app%2Fcontrollers%2Fapplication_controller.rb;h=42e8780635175793491d25b3e87f45335c8143ad;hp=f1da1ce2e0d21b3bcd7022eaee9ae457a0629f71;hb=a4838064801c37fddc101f493c654cf0b2c78db4;hpb=ae721bf0ef19573105688ed820f9a6cbec20d3e7 diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f1da1ce2..42e87806 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -165,7 +165,7 @@ class ApplicationController < ActionController::Base def show_prof_format format format.prof { self.formats = [:html] - @profiler = Locmare::Profiler.new @my_model.model_name, @item, @operators + @profiler = Locmare::Profiler.new @my_model.item_name, @item, @operators render @profiler.template_name, :locals => { :profiler => @profiler }