class PostsController < ApplicationController before_action :set_post, only: %i[edit update show destroy] def index @posts = Post.all end ...
確定! 回上一頁