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
fix orm
[pettanr/pettanr.git]
/
app
/
controllers
/
sheet_panels_controller.rb
diff --git
a/app/controllers/sheet_panels_controller.rb
b/app/controllers/sheet_panels_controller.rb
index
9782fc6
..
66e876b
100644
(file)
--- a/
app/controllers/sheet_panels_controller.rb
+++ b/
app/controllers/sheet_panels_controller.rb
@@
-27,10
+27,9
@@
class SheetPanelsController < ApplicationController
end
def show
- @item = SheetPanel.show(params[:id], @operators)
-
+ set_show
respond_to do |format|
-
format_prof
format
+
show_prof_format
format
format.json { render json: @item.sheet_panel_as_json(@operators.author) }
end
end