diff options
| author | jpl | 2016-08-31 12:14:35 +0200 |
|---|---|---|
| committer | jpl | 2016-08-31 12:14:35 +0200 |
| commit | cd6c8e675e6fa28b5655cbe8d6dc4167b6125915 (patch) | |
| tree | ecf0a13ffa35a7e22dcd47158b6ecef61e928df0 /app/controllers | |
| parent | 094f691e0dd4305070fcb97eff619dd19aa02086 (diff) | |
| download | chouette-core-cd6c8e675e6fa28b5655cbe8d6dc4167b6125915.tar.bz2 | |
Refs #1523: adding archived_at and (un)archive actions
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/referentials_controller.rb | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb index 34ba37380..09d990752 100644 --- a/app/controllers/referentials_controller.rb +++ b/app/controllers/referentials_controller.rb @@ -53,7 +53,19 @@ class ReferentialsController < BreadcrumbController private def referential_params - params.require(:referential).permit( :id, :name, :slug, :prefix, :time_zone, :upper_corner, :lower_corner, :organisation_id, :projection_type, :data_format ) + params.require(:referential).permit( + :id, + :name, + :slug, + :prefix, + :time_zone, + :upper_corner, + :lower_corner, + :organisation_id, + :projection_type, + :data_format, + :archived_at + ) end -end +end
\ No newline at end of file |
