質問編集履歴
2
訂正
title
CHANGED
File without changes
|
body
CHANGED
@@ -59,4 +59,15 @@
|
|
59
59
|
|
60
60
|
|
61
61
|
**追記**
|
62
|
-
誤ったものをアップしていたので訂正しました。
|
62
|
+
誤ったものをアップしていたので訂正しました。
|
63
|
+
|
64
|
+
```cmd
|
65
|
+
ec2-user:~/environment/basic_app (master) $ rails routes
|
66
|
+
Prefix Verb URI Pattern Controller#Action
|
67
|
+
root GET / top#index
|
68
|
+
rails_service_blob GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs#show
|
69
|
+
rails_blob_representation GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations#show
|
70
|
+
rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show
|
71
|
+
update_rails_disk_service PUT /rails/active_storage/disk/:encoded_token(.:format) active_storage/disk#update
|
72
|
+
rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format) active_storage/direct_uploads#create
|
73
|
+
```
|
1
訂正
title
CHANGED
File without changes
|
body
CHANGED
@@ -40,7 +40,8 @@
|
|
40
40
|
こうなっており、アクセスしたらtop#indexが表示されると思いきや、なぜか
|
41
41
|
[パスを見ての通りtop#indexではない](https://young-refuge-27377.herokuapp.com/)
|
42
42
|
コントローラー ビュー ルーティング 問題がありそうな場所が検討が付きません。
|
43
|
+
なぜroot
|
43
|
-
|
44
|
+
で指定したパスが表示されないのでしょうか?
|
44
45
|
|
45
46
|
```ruby
|
46
47
|
#topコントローラー
|
@@ -54,4 +55,8 @@
|
|
54
55
|
|
55
56
|
```
|
56
57
|
|
57
|
-
ちゃんとビューファイルもあります。(中身は空です。)
|
58
|
+
ちゃんとビューファイルもあります。(中身は空です。)
|
59
|
+
|
60
|
+
|
61
|
+
**追記**
|
62
|
+
誤ったものをアップしていたので訂正しました。
|