diff options
| author | Zog | 2018-02-12 16:58:00 +0100 | 
|---|---|---|
| committer | Zog | 2018-02-12 17:02:23 +0100 | 
| commit | 6f0c27a582f1b628b46f3c80c56b176263e17b61 (patch) | |
| tree | f00367110979d5ecd68db4c84a3bdbc2c28871c4 | |
| parent | 59be983ba9e2343d9361ccf31ead62b297c8a623 (diff) | |
| download | chouette-core-5903-fix-VJS-editor.tar.bz2 | |
Refs #5903; Fix CustomField loading when no workgroup is available5903-fix-VJS-editor
| -rw-r--r-- | app/controllers/vehicle_journeys_controller.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/controllers/vehicle_journeys_controller.rb b/app/controllers/vehicle_journeys_controller.rb index e031e4952..a389f3ab0 100644 --- a/app/controllers/vehicle_journeys_controller.rb +++ b/app/controllers/vehicle_journeys_controller.rb @@ -154,7 +154,7 @@ class VehicleJourneysController < ChouetteController    private    def load_custom_fields -    @custom_fields = current_workgroup.custom_fields_definitions +    @custom_fields = current_workgroup&.custom_fields_definitions || {}    end    def map_stop_points points | 
