aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorAlban Peignier2016-11-22 16:00:24 +0100
committerAlban Peignier2016-11-22 16:00:24 +0100
commit847a3bfc3ecaf0a3fe981359fe7a3eaaae3fac24 (patch)
treeed74741b945ef562a207a0684e73e1a44de093c4 /app/controllers
parent58dd80dee1d26890aba89354470304555a54dc29 (diff)
downloadchouette-core-847a3bfc3ecaf0a3fe981359fe7a3eaaae3fac24.tar.bz2
Manage several ReferentialMetadata::Periods in ReferentialMetadata. Refs #2035
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/referentials_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb
index b7e6d8031..6a7631894 100644
--- a/app/controllers/referentials_controller.rb
+++ b/app/controllers/referentials_controller.rb
@@ -102,7 +102,7 @@ class ReferentialsController < BreadcrumbController
:archived_at,
:created_from_id,
:workbench_id,
- metadatas_attributes: [:id, :first_period_begin, :first_period_end, :lines => []]
+ metadatas_attributes: [:id, :first_period_begin, :first_period_end, periods_attributes: [:begin, :end, :id, :_destroy], :lines => []]
)
end