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#32472:add select on profiles
[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
e45ea12
..
fe64c51
100644
(file)
--- a/
app/controllers/sheet_panels_controller.rb
+++ b/
app/controllers/sheet_panels_controller.rb
@@
-31,7
+31,9
@@
class SheetPanelsController < ApplicationController
@item = SheetPanel.show(params[:id], [@user, @admin])
respond_to do |format|
- format.html # show.html.erb
+ format.html {
+ @sheet_panel = @item
+ }
format_prof format
format.json { render json: @item.sheet_panel_as_json(@author) }
end