diff options
Diffstat (limited to 'app/controllers/networks_controller.rb')
| -rw-r--r-- | app/controllers/networks_controller.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/controllers/networks_controller.rb b/app/controllers/networks_controller.rb index 618bb83e6..5dff116c2 100644 --- a/app/controllers/networks_controller.rb +++ b/app/controllers/networks_controller.rb @@ -41,8 +41,8 @@ class NetworksController < ChouetteController      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 ]) +  def network_params +    params.require(:network).permit(:objectid, :object_version, :creation_time, :creator_id, :version_date, :description, :name, :registration_number, :source_name, :source_type, :source_identifier, :comment )    end  end | 
