diff options
| author | Vlatka Pavisic | 2017-02-13 17:39:30 +0100 |
|---|---|---|
| committer | Vlatka Pavisic | 2017-02-13 17:39:36 +0100 |
| commit | 49c1de150c9ef38c00247a51b91150efdd5cc3dc (patch) | |
| tree | c9e4832efa0c55dea4889842adf5b407d37d1425 /app/controllers/lines_controller.rb | |
| parent | 55468b29bb5b23bfeb8ebe439ed62e5214284a3d (diff) | |
| download | chouette-core-49c1de150c9ef38c00247a51b91150efdd5cc3dc.tar.bz2 | |
Refs #2596 : Replace creation_time with timestamps
Diffstat (limited to 'app/controllers/lines_controller.rb')
| -rw-r--r-- | app/controllers/lines_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/lines_controller.rb b/app/controllers/lines_controller.rb index bc8852411..a0bb4b3c2 100644 --- a/app/controllers/lines_controller.rb +++ b/app/controllers/lines_controller.rb @@ -102,7 +102,7 @@ class LinesController < BreadcrumbController helper_method :current_referential 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, :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, :creator_id, :name, :number, :published_name, :transport_mode, :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 |
