OSDN Git Service

t#32402:add file prof
[pettanr/pettanr.git] / app / controllers / scrolls_controller.rb
index 62a8413..9c255bd 100644 (file)
@@ -34,6 +34,7 @@ class ScrollsController < ApplicationController
         end
       }
       format.json { render json: @scroll.to_json(Scroll.show_json_opt) }
+      format.prof  { render :template => 'top/prof', :layout => true }
       format.atom 
       format.rss 
     end