diff options
| author | jpl | 2016-11-15 16:26:40 +0100 |
|---|---|---|
| committer | jpl | 2016-11-15 16:26:40 +0100 |
| commit | 78c2067553183cf83da2ba46f003628f1e96104a (patch) | |
| tree | 130e53823f39847db6096b2fc1324bdab71cb82f /app/controllers | |
| parent | 77c6b9b88c8b63c6d59c820cbb084fd99f48a011 (diff) | |
| download | chouette-core-78c2067553183cf83da2ba46f003628f1e96104a.tar.bz2 | |
Refs #1886: adding rails-select2 for lines searching autocomplete
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/referential_lines_controller.rb | 25 |
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 |
