質問編集履歴
1
質問者様のアドバイスで追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -123,3 +123,61 @@
|
|
123
123
|
|
124
124
|
|
125
125
|
```
|
126
|
+
|
127
|
+
追記分
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
① app/views/static_pages/home.html.erb
|
132
|
+
|
133
|
+
```
|
134
|
+
|
135
|
+
<% provide(:title, "Home") %>
|
136
|
+
|
137
|
+
<h1>Sample App</h1>
|
138
|
+
|
139
|
+
<p>
|
140
|
+
|
141
|
+
This is the home page for the
|
142
|
+
|
143
|
+
<a href="https://railstutorial.jp/">Ruby on Rails Tutorial</a>
|
144
|
+
|
145
|
+
sample application.
|
146
|
+
|
147
|
+
</p>
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
```
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
② bundle exec rake routes の実行結果
|
156
|
+
|
157
|
+
```
|
158
|
+
|
159
|
+
/Users/megataichi/portfolio/lantern_app/vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.2/lib/action_dispatch/middleware/stack.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
|
160
|
+
|
161
|
+
/Users/megataichi/portfolio/lantern_app/vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.2/lib/action_dispatch/middleware/static.rb:111: warning: The called method `initialize' is defined here
|
162
|
+
|
163
|
+
Prefix Verb URI Pattern Controller#Action
|
164
|
+
|
165
|
+
static_pages_home GET /static_pages/home(.:format) static_pages#home
|
166
|
+
|
167
|
+
static_pages_about GET /static_pages/about(.:format) static_pages#about
|
168
|
+
|
169
|
+
root GET / static_pages#home
|
170
|
+
|
171
|
+
about GET /about(.:format) static_pages#about
|
172
|
+
|
173
|
+
rails_service_blob GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs#show
|
174
|
+
|
175
|
+
rails_blob_representation GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations#show
|
176
|
+
|
177
|
+
rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show
|
178
|
+
|
179
|
+
update_rails_disk_service PUT /rails/active_storage/disk/:encoded_token(.:format) active_storage/disk#update
|
180
|
+
|
181
|
+
rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format)
|
182
|
+
|
183
|
+
```
|