OSDN Git Service

t#32402:add file prof
[pettanr/pettanr.git] / app / controllers / pictures_controller.rb
index b8ab99d..d124c9e 100644 (file)
@@ -19,6 +19,7 @@ class PicturesController < ApplicationController
       format.gif { send_data(@picture.restore(params[:subdir]), opt ) }
       format.jpeg { send_data(@picture.restore(params[:subdir]), opt ) }
       format.html 
+      format.prof  { render :template => 'top/prof', :layout => true }
       format.json { render :json => @picture.to_json}
     end
   end