OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2f211a9
)
fix: rp update faild
author
yasushiito
<yas@pen-chan.jp>
Sun, 1 Nov 2015 22:11:44 +0000
(07:11 +0900)
committer
yasushiito
<yas@pen-chan.jp>
Sun, 1 Nov 2015 22:11:44 +0000
(07:11 +0900)
app/controllers/resource_pictures_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/resource_pictures_controller.rb
b/app/controllers/resource_pictures_controller.rb
index
118e49c
..
6850873
100644
(file)
--- a/
app/controllers/resource_pictures_controller.rb
+++ b/
app/controllers/resource_pictures_controller.rb
@@
-78,6
+78,7
@@
class ResourcePicturesController < ApplicationController
else
@item.permit_params(params)
end
+ @prm.delete 'id'
@item.attributes = @prm
@item.overwrite @original_picture
@item.boosts 'post'