]> git.openstreetmap.org Git - rails.git/commitdiff
JSON: move root_attributes to shared folder
authormmd-osm <mmd.osm@gmail.com>
Wed, 22 Jan 2020 21:47:47 +0000 (22:47 +0100)
committermmd-osm <mmd.osm@gmail.com>
Wed, 22 Jan 2020 21:47:47 +0000 (22:47 +0100)
19 files changed:
app/views/api/_root_attributes.json.jbuilder [moved from app/views/api/map/_root_attributes.json.jbuilder with 100% similarity]
app/views/api/nodes/index.json.jbuilder
app/views/api/nodes/show.json.jbuilder
app/views/api/old_nodes/history.json.jbuilder
app/views/api/old_nodes/version.json.jbuilder
app/views/api/old_relations/history.json.jbuilder
app/views/api/old_relations/version.json.jbuilder
app/views/api/old_ways/history.json.jbuilder
app/views/api/old_ways/version.json.jbuilder
app/views/api/relations/full.json.jbuilder
app/views/api/relations/index.json.jbuilder
app/views/api/relations/relations_for_node.json.jbuilder
app/views/api/relations/relations_for_relation.json.jbuilder
app/views/api/relations/relations_for_way.json.jbuilder
app/views/api/relations/show.json.jbuilder
app/views/api/ways/full.json.jbuilder
app/views/api/ways/index.json.jbuilder
app/views/api/ways/show.json.jbuilder
app/views/api/ways/ways_for_node.json.jbuilder

index f42f7563bda43b63cc724ec8a2dc5fcd0d2f5a73..3e3ceb4cc4b3796fb2489d976ce9b4ef264182ae 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements(@nodes) do |node|
   json.partial! node
index c87777a87bff280a99f7d67a6d320073a0b76702..9974da82ffccab5e2785a80b69125a1f7da63c1f 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements([@node]) do |node|
   json.partial! node
index b0e97e832553cb24a114c001f79bb35da859ee19..96e8cca2d30a9f722ac6647e9722f31ad3490c6d 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements(@elems) do |old_node|
   json.partial! old_node
index 992230bc0930641f13b8012db325fb2aa3f836fd..f63e07d439105ae17ea0134aeea046fd982f06d8 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements([@old_element]) do |old_node|
   json.partial! old_node
index c5dacae0ac345814663c278260e86caee11615a0..311a80a86f04af717dfc472cdcc5adcbcd5d7879 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements(@elems) do |old_relation|
   json.partial! old_relation
index b4018429b872c3fac8fb137a3789eb3ffaa19395..5b33e4b85073c3fc2330a641f857bba78609bcb4 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements([@old_element]) do |old_relation|
   json.partial! old_relation
index b231d7de1d9216f5ba2346f2c3e794404ee2dc0b..b5cf80d095a72e65cd3b8f69e28efa90a596a457 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements(@elems) do |old_way|
   json.partial! old_way
index bb261c1c5d0c9018832abbe6f4935b8a90871827..c66488526a01ffdd713f8ab2f6af97c19c222262 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements([@old_element]) do |old_way|
   json.partial! old_way
index 268de01cacbe3ba6f4d7e91a984c1fae2bdad8c1..98cbbfc402ddac13ca60cfd4e929354a39eac964 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 all = @nodes + @ways + @relations
 
index 25c54fc6ff389ca00477da9b9ab07dc40951245d..f170cb150d54f1fdd1c80ad6bc45feb03fb731ac 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements(@relations) do |relation|
   json.partial! relation
index 25c54fc6ff389ca00477da9b9ab07dc40951245d..f170cb150d54f1fdd1c80ad6bc45feb03fb731ac 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements(@relations) do |relation|
   json.partial! relation
index 25c54fc6ff389ca00477da9b9ab07dc40951245d..f170cb150d54f1fdd1c80ad6bc45feb03fb731ac 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements(@relations) do |relation|
   json.partial! relation
index 25c54fc6ff389ca00477da9b9ab07dc40951245d..f170cb150d54f1fdd1c80ad6bc45feb03fb731ac 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements(@relations) do |relation|
   json.partial! relation
index 682ef0a2436e20efb5bcbccaa77dc13e3cd28d5c..7f85d0f250e381b310f9e7ced36e09dd28408ef0 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements([@relation]) do |relation|
   json.partial! relation
index 9bd234fbe14b0b203a6ee4227dd2b851eafe50ff..bebad5e9f9d7bf7787581cab629e1e55764c22d3 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 all = @nodes + [@way]
 
index e1dbd43474d0b51363f98920af1e034941a6767f..19e59cfb8885d3ff00d9978d0faa9a8489fac154 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements(@ways) do |way|
   json.partial! way
index e5cd31fed0026467453814c03b07cc79b740e763..acb93c1e77adce6bc9b927e551710cb181c46d67 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements([@way]) do |way|
   json.partial! way
index e1dbd43474d0b51363f98920af1e034941a6767f..19e59cfb8885d3ff00d9978d0faa9a8489fac154 100644 (file)
@@ -1,4 +1,4 @@
-json.partial! "api/map/root_attributes"
+json.partial! "api/root_attributes"
 
 json.elements(@ways) do |way|
   json.partial! way