aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/referential_lines_controller.rb
diff options
context:
space:
mode:
authorLuc Donnet2016-11-16 15:50:41 +0100
committerLuc Donnet2016-11-16 15:50:41 +0100
commitd20a0e06b5df1645d311f8fbf7a7fb66cad3a869 (patch)
tree40c138134c994fb19a1ed2c7c13928b4b02ade86 /app/controllers/referential_lines_controller.rb
parent9cfa2309d53fa45342776f7cd2972080b3b85582 (diff)
parent12d6ed68bf275b12bb4fb59e9c826a8af8554078 (diff)
downloadchouette-core-d20a0e06b5df1645d311f8fbf7a7fb66cad3a869.tar.bz2
Merge branch 'master' of github.com:AF83/stif-boiv
Diffstat (limited to 'app/controllers/referential_lines_controller.rb')
-rw-r--r--app/controllers/referential_lines_controller.rb25
1 files changed, 24 insertions, 1 deletions
diff --git a/app/controllers/referential_lines_controller.rb b/app/controllers/referential_lines_controller.rb
index a566f440e..6a07e5093 100644
--- a/app/controllers/referential_lines_controller.rb
+++ b/app/controllers/referential_lines_controller.rb
@@ -89,7 +89,30 @@ class ReferentialLinesController < ChouetteController
private
def line_params
- params.require(:line).permit( :transport_mode, :network_id, :company_id, :objectid, :object_version, :creation_time, :creator_id, :name, :number, :published_name, :transport_mode_name, :registration_number, :comment, :mobility_restricted_suitability, :int_user_needs, :flexible_service, :group_of_lines, :group_of_line_ids, :group_of_line_tokens, :url, :color, :text_color, :stable_id, { footnotes_attributes: [ :code, :label, :_destroy, :id ] } )
+ params.require(:line).permit(
+ :transport_mode,
+ :network_id,
+ :company_id,
+ :objectid,
+ :object_version,
+ :creation_time,
+ :creator_id,
+ :name, :number,
+ :published_name,
+ :transport_mode_name,
+ :registration_number,
+ :comment,
+ :mobility_restricted_suitability,
+ :int_user_needs,
+ :flexible_service,
+ :group_of_lines,
+ :group_of_line_ids,
+ :group_of_line_tokens,
+ :url,
+ :color,
+ :text_color,
+ :stable_id,
+ { footnotes_attributes: [ :code, :label, :_destroy, :id ] } )
end
end