OSDN Git Service

t#32402:add file prof
[pettanr/pettanr.git] / app / controllers / scroll_panels_controller.rb
index f694433..305638c 100644 (file)
@@ -28,6 +28,7 @@ class ScrollPanelsController < ApplicationController
 
     respond_to do |format|
       format.html # show.html.erb
+      format.prof  { render :template => 'top/prof', :layout => true }
       format.json { render json: @scroll_panel.scroll_panel_as_json(@author) }
     end
   end