OSDN Git Service

t#32402:add file prof
[pettanr/pettanr.git] / app / controllers / speech_balloons_controller.rb
index bc5aea8..9350511 100644 (file)
@@ -27,6 +27,8 @@ class SpeechBalloonsController < ApplicationController
     @speech_balloon = SpeechBalloon.show(params[:id], [@user, @admin])
     respond_to do |format|
       format.html # show.html.erb
+      format.prof  { render :template => 'top/prof', :layout => true }
+      format.prof  { render :template => 'top/prof', :layout => true }
       format.json { render json: @speech_balloon.to_json(SpeechBalloon.show_json_opt) }
     end
   end