OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t#32402:add file prof
[pettanr/pettanr.git]
/
app
/
controllers
/
speech_balloons_controller.rb
diff --git
a/app/controllers/speech_balloons_controller.rb
b/app/controllers/speech_balloons_controller.rb
index
bc5aea8
..
9350511
100644
(file)
--- a/
app/controllers/speech_balloons_controller.rb
+++ b/
app/controllers/speech_balloons_controller.rb
@@
-27,6
+27,8
@@
class SpeechBalloonsController < ApplicationController
@speech_balloon = SpeechBalloon.show(params[:id], [@user, @admin])
respond_to do |format|
format.html # show.html.erb
@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
format.json { render json: @speech_balloon.to_json(SpeechBalloon.show_json_opt) }
end
end