OSDN Git Service

t#32402:add file prof
[pettanr/pettanr.git] / app / controllers / balloons_controller.rb
index d3c6727..885e055 100644 (file)
@@ -25,6 +25,7 @@ class BalloonsController < ApplicationController
     @balloon = Balloon.show(params[:id], [@user, @admin])
     respond_to do |format|
       format.html # show.html.erb
+      format.prof  { render :template => 'top/prof', :layout => true }
       format.json { render json: @balloon.to_json(Balloon.show_json_opt) }
     end
   end