aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/networks_controller.rb
diff options
context:
space:
mode:
authorLuc Donnet2015-01-06 14:16:06 +0100
committerLuc Donnet2015-01-06 14:16:06 +0100
commite0328e5192be5aab634590c8f736d2ea9b871d67 (patch)
treecc14e26533190ccbfc7661bcc459fcfb562823a0 /app/controllers/networks_controller.rb
parent421781dfcb08746dae48f84e144a1c92e12dff49 (diff)
downloadchouette-core-e0328e5192be5aab634590c8f736d2ea9b871d67.tar.bz2
Fix features and views spec
Diffstat (limited to 'app/controllers/networks_controller.rb')
-rw-r--r--app/controllers/networks_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/networks_controller.rb b/app/controllers/networks_controller.rb
index 25c4caaac..618bb83e6 100644
--- a/app/controllers/networks_controller.rb
+++ b/app/controllers/networks_controller.rb
@@ -40,4 +40,9 @@ class NetworksController < ChouetteController
def collection_url
referential_networks_path(referential)
end
+
+ def permitted_params
+ params.permit(network: [ :objectid, :object_version, :creation_time, :creator_id, :version_date, :description, :name, :registration_number, :source_name, :source_type, :source_identifier, :comment ])
+ end
+
end