aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorjpl2016-08-31 12:14:35 +0200
committerjpl2016-08-31 12:14:35 +0200
commitcd6c8e675e6fa28b5655cbe8d6dc4167b6125915 (patch)
treeecf0a13ffa35a7e22dcd47158b6ecef61e928df0 /app/controllers
parent094f691e0dd4305070fcb97eff619dd19aa02086 (diff)
downloadchouette-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.rb16
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