diff options
| author | Alban Peignier | 2017-12-20 22:48:53 +0100 |
|---|---|---|
| committer | GitHub | 2017-12-20 22:48:53 +0100 |
| commit | ac7df56835a10b729e0369fe6edbe2a1cb57927e (patch) | |
| tree | ef9383710e2f3f1af3c0a46a5405c562a10edf79 /app/controllers | |
| parent | e0cdfc6c4af6de03123faeffc5f79df68c8e42b8 (diff) | |
| parent | c955658d634c5975af446ca9885903ff8fa2c0a9 (diff) | |
| download | chouette-core-ac7df56835a10b729e0369fe6edbe2a1cb57927e.tar.bz2 | |
Merge pull request #170 from af83/5351-stop-area-waiting-time
Add StopArea#waiting_time with support in stop_areas#index/show. Refs #5351
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/stop_areas_controller.rb | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/app/controllers/stop_areas_controller.rb b/app/controllers/stop_areas_controller.rb index d4d996adb..498493f1e 100644 --- a/app/controllers/stop_areas_controller.rb +++ b/app/controllers/stop_areas_controller.rb @@ -171,7 +171,35 @@ class StopAreasController < ChouetteController helper_method :current_referential def stop_area_params - params.require(:stop_area).permit( :routing_stop_ids, :routing_line_ids, :children_ids, :parent_id, :objectid, :object_version, :name, :comment, :area_type, :registration_number, :nearest_topic_name, :fare_code, :longitude, :latitude, :long_lat_type, :country_code, :street_name, :zip_code, :city_name, :mobility_restricted_suitability, :stairs_availability, :lift_availability, :int_user_needs, :coordinates, :url, :time_zone ) + params.require(:stop_area).permit( + :area_type, + :children_ids, + :city_name, + :comment, + :coordinates, + :country_code, + :fare_code, + :int_user_needs, + :latitude, + :lift_availability, + :long_lat_type, + :longitude, + :mobility_restricted_suitability, + :name, + :nearest_topic_name, + :object_version, + :objectid, + :parent_id, + :registration_number, + :routing_line_ids, + :routing_stop_ids, + :stairs_availability, + :street_name, + :time_zone, + :url, + :waiting_time, + :zip_code, + ) end end |
