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
manifest view profiler
[pettanr/pettanr.git]
/
app
/
controllers
/
scroll_panels_controller.rb
diff --git
a/app/controllers/scroll_panels_controller.rb
b/app/controllers/scroll_panels_controller.rb
index
a785287
..
27de3f9
100644
(file)
--- a/
app/controllers/scroll_panels_controller.rb
+++ b/
app/controllers/scroll_panels_controller.rb
@@
-27,10
+27,9
@@
class ScrollPanelsController < ApplicationController
end
def show
- @item = ScrollPanel.show(params[:id], @operators)
-
+ set_show
respond_to do |format|
-
format_prof
format
+
show_prof_format
format
format.json { render json: @item.scroll_panel_as_json(@operators.author) }
end
end