Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Rails-resource-routing-design-bootstrap(ja)

 Rails-resource-routing-design-bootstrap(ja)

Sendagaya.rb#12での講演資料に口頭のまとめを追記したものです。

MOROHASHI Kyosuke

July 23, 2012
Tweet

More Decks by MOROHASHI Kyosuke

Other Decks in Programming

Transcript

  1. ϦιʔεΛ͍͡Δͧ Ұཡ ୯Ұදࣔ ࡞੒ ߋ৽ ࡟আ GET /res index GET

    /res/:id show POST /res create PUT /res/:id update DELETE /res/:id destroy
  2. Πϕϯτ: ΄͛;͕ ݱࡏͷࢀՃऀҰཡ - alice -bob - charles ࢀՃొ࿥͢Δ POST

    /events/42/registrations ·ͨ͸ GET /events/42/registrations/new