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: rp update faild
[pettanr/pettanr.git]
/
app
/
controllers
/
resource_pictures_controller.rb
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'