{"url":"https://tnakamura.hatenablog.com/entry/2014/01/31/185214","provider_name":"Hatena Blog","categories":["Rails","Ruby"],"image_url":null,"type":"rich","blog_url":"https://tnakamura.hatenablog.com/","height":"190","width":"100%","published":"2014-01-31 18:52:14","provider_url":"https://hatena.blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2014%2F01%2F31%2F185214\" title=\"Github \u307f\u305f\u3044\u306b\u30d1\u30b9\u306e\u6700\u521d\u306e\u30bb\u30b0\u30e1\u30f3\u30c8\u3067\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u4f7f\u3046\u65b9\u6cd5 - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"griefworker","author_url":"https://blog.hatena.ne.jp/griefworker/","title":"Github \u307f\u305f\u3044\u306b\u30d1\u30b9\u306e\u6700\u521d\u306e\u30bb\u30b0\u30e1\u30f3\u30c8\u3067\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u4f7f\u3046\u65b9\u6cd5","blog_title":"present","description":"\u4e45\u3005\u306e Rails \u30cd\u30bf\u3002 \u300eroot \u76f4\u4e0b\u306b\u30e6\u30fc\u30b6\u30fc\u540d\u304c\u304f\u308b\u3088\u3046\u306a URL\u300f\u3092\u8a2d\u8a08\u3057\u305f\u3044\u3068\u304d\u304c\u305f\u307e\u306b\u3042\u308b\u3002 \u4f8b\u3048\u3070\u3053\u3093\u306a\u3084\u3064\u3002 https://localhost:3000/<\u30e6\u30fc\u30b6\u30fc\u540d>/issues \u3053\u306e URL \u3092\u5b9f\u73fe\u3059\u308b\u306b\u306f\u3001routes.rb \u3067 scope \u3092\u4f7f\u3063\u3066\u3001\u6b21\u306e\u3088\u3046\u306b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u8a18\u8ff0\u3059\u308c\u3070\u3044\u3044\u3002 scope \"/:username\" do get \"/\" => \"home#index\" resources :issues end \u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068 Prefix Verb URI Pattern Controller#Action GET /:usernam\u2026"}