aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/networks_controller.rb
diff options
context:
space:
mode:
authorjpl2016-11-29 16:33:34 +0100
committerjpl2016-11-29 16:33:34 +0100
commitf10e5914b98d71539a2f0afb292112c715d0089e (patch)
treee795541c0ef73bed6a848984ef9017f58821c4c1 /app/controllers/networks_controller.rb
parent15f6dd2b0ef8f57179c546039a9ae9f8b8975034 (diff)
downloadchouette-core-f10e5914b98d71539a2f0afb292112c715d0089e.tar.bz2
Refs #2019: updating networks with table builder
Diffstat (limited to 'app/controllers/networks_controller.rb')
-rw-r--r--app/controllers/networks_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/networks_controller.rb b/app/controllers/networks_controller.rb
index 85ec36769..8d6fc9a8e 100644
--- a/app/controllers/networks_controller.rb
+++ b/app/controllers/networks_controller.rb
@@ -57,7 +57,11 @@ class NetworksController < BreadcrumbController
authorize resource
end
+ alias_method :current_referential, :line_referential
+ helper_method :current_referential
+
def network_params
params.require(:network).permit(:objectid, :object_version, :creation_time, :creator_id, :version_date, :description, :name, :registration_number, :source_name, :source_type_name, :source_identifier, :comment )
end
+
end