diff options
| author | Vlatka Pavisic | 2017-02-13 17:39:30 +0100 |
|---|---|---|
| committer | Xinhui | 2017-02-20 11:52:06 +0100 |
| commit | 86cd6fb168b94debc3fc0eb99ac61f1a9b9b0049 (patch) | |
| tree | 8b94bf10593393b9ad6bf73fb13b623abb615778 /app/controllers/lines_controller.rb | |
| parent | 84e433dbdbd457c922725ea54cd703ed28da7ab6 (diff) | |
| download | chouette-core-86cd6fb168b94debc3fc0eb99ac61f1a9b9b0049.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 9a0a007aa..4c36ecb21 100644 --- a/app/controllers/lines_controller.rb +++ b/app/controllers/lines_controller.rb @@ -106,7 +106,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 |
