7つのアクションとはindex、new、create、show、edit、update、destroyのこと。
アクションにより処理が分かれる。
indexはトップページを表示
newは新規投稿ページを表示
createはデータの新規投稿
showは個別詳細ページを表示
editは投稿編集ページを表示
updateはデータの編集
destroyは投稿のデータの削除
これらを作ったVS Codeのcontroller.rbに記述していく
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00