diff options
| author | Alban Peignier | 2016-11-22 16:00:24 +0100 |
|---|---|---|
| committer | Alban Peignier | 2016-11-22 16:00:24 +0100 |
| commit | 847a3bfc3ecaf0a3fe981359fe7a3eaaae3fac24 (patch) | |
| tree | ed74741b945ef562a207a0684e73e1a44de093c4 /app/controllers | |
| parent | 58dd80dee1d26890aba89354470304555a54dc29 (diff) | |
| download | chouette-core-847a3bfc3ecaf0a3fe981359fe7a3eaaae3fac24.tar.bz2 | |
Manage several ReferentialMetadata::Periods in ReferentialMetadata. Refs #2035
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/referentials_controller.rb | 2 |
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 |
