質問編集履歴
1
routeとsitemapファイル
test
CHANGED
File without changes
|
test
CHANGED
@@ -23,3 +23,29 @@
|
|
23
23
|
end
|
24
24
|
|
25
25
|
```
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
```route
|
30
|
+
|
31
|
+
resources :eateries do
|
32
|
+
|
33
|
+
collection do
|
34
|
+
|
35
|
+
post :import
|
36
|
+
|
37
|
+
end
|
38
|
+
|
39
|
+
resources :reviews, except: [:index]
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
```
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:pagemap="http://www.google.com/schemas/sitemap-pagemap/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>http://www.example.com</loc><lastmod>2020-05-13T13:59:41+09:00</lastmod><changefreq>always</changefreq><priority>1.0</priority></url></urlset>
|
50
|
+
|
51
|
+
```
|