teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

$ rails routesの実行結果

2019/01/21 10:07

投稿

shijimiiiiiiiii
shijimiiiiiiiii

スコア17

title CHANGED
File without changes
body CHANGED
@@ -17,4 +17,20 @@
17
17
  ”=>”以下も大切なものであることは分かるのですが、どのようにしたら”=>”以下も同時に追加されるようになるのでしょうか。
18
18
 
19
19
  どなたか教えていただけると嬉しいです。
20
- よろしくお願いいたします。
20
+ よろしくお願いいたします。
21
+
22
+ ---
23
+
24
+ $ rails routes の実行結果は以下の通りです。
25
+
26
+ ```
27
+ Prefix Verb URI Pattern Controller#Action
28
+ posts_index GET /posts/index(.:format) posts#index
29
+ GET / home#top
30
+ about GET /about(.:format) home#about
31
+ rails_service_blob GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs#show
32
+ rails_blob_representation GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations#show
33
+ rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show
34
+ update_rails_disk_service PUT /rails/active_storage/disk/:encoded_token(.:format) active_storage/disk#update
35
+ rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format) active_storage/direct_uploads#create
36
+ ```