From 6c9922a87fb72b958b78014c45b6cd1efafdd30e Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 12 Nov 2020 23:39:13 +0100 Subject: Add Stimulus Map and Taxonomy (WIP) This commit add StimulusJS interaction for the map and taxonomy, as well as styling. It provides preliminary work to hook up live data on the map from the taxonomy. --- db/seeds.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'db/seeds.rb') diff --git a/db/seeds.rb b/db/seeds.rb index ea9fc25..6252ebf 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -48,3 +48,8 @@ if Category.count == 0 end end end + +# Create default map +if Map.count == 0 + Map.create(uuid: "1a42651e-3fe8-4e83-bfcd-f14bb8d0c713", latitude: 50.8503396, longitude: 4.3517103, zoom: 13, taxonomy_id: 1) +end -- cgit v1.2.3