Slide 60
Slide 60 text
.row
.col-6
…Ұཡදࣔ…
.col-6
turbo-frame#itemDetailFrame
- if @item
…ৄࡉදࣔ…
.row
.col-6
…Ұཡදࣔ…
.col-6
turbo-frame#itemDetailFrame
def index
prepare_items
end
def show
@item = Item.find(params[:id])
prepare_items
render action: :index
end
private
def prepare_items
@items = Item.all
end
ίʔυྫ
JUFNT@DPOUSPMMFSSC JOEFYIUNMTMJN
TIPXIUNMTMJN
͕͋͞Δ