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
/
speeches_controller.rb
diff --git
a/app/controllers/speeches_controller.rb
b/app/controllers/speeches_controller.rb
index
1095fdb
..
24ca971
100644
(file)
--- a/
app/controllers/speeches_controller.rb
+++ b/
app/controllers/speeches_controller.rb
@@
-25,6
+25,7
@@
class SpeechesController < ApplicationController
@speech = Speech.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: @speech.to_json(Speech.show_json_opt) }
end
end