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#31485:editate ground_pictures
[pettanr/pettanr.git]
/
app
/
models
/
panel.rb
diff --git
a/app/models/panel.rb
b/app/models/panel.rb
index
84999b5
..
b635a21
100644
(file)
--- a/
app/models/panel.rb
+++ b/
app/models/panel.rb
@@
-282,6
+282,7
@@
class Panel < ActiveRecord::Base
Panel.transaction do
res = self.save
unless validate_child
+ res = false
self.errors.add :base, I18n.t('errors.invalid_t')
raise ActiveRecord::Rollback
end