ãã¯ã触ãããã¨ã«ãªã£ã¦ãã¾ã£ã routes.rbããããæã«æå³ä¸æãªé¨åãç解ãããã åå¼·ãã¦å¾ãããæ å ±ãã¡ã¢ã routes.rb ã«ã¦çæããã URL ã«ã¤ãã¦ã¯ rake routes ã³ãã³ãã«ã¦ç¢ºèªã§ããã è¨è¼ããåºåçµæã¯ãã¹ã¦ rake routes ã«ã¦åºåãããçµæã§ãã match(path, options={}) route 師å¼ã®åºæ¬ãã¢ã¯ã»ã¹å¯è½ãª path ãæå®ãã¦ãããã¨ã§ãHTTP ãªã¯ã¨ã¹ããå¦çã§ããããã«ãªãã match "foo/bar" # foo_bar /foo/bar(.:format) {:controller=>"foo", :action=>"bar"} path ã¯å¿ ãä¸ã¤ä»¥ä¸ "/" ãå ¥ãã¦ããå¿ è¦ãããã match "foo" => NG match "foo/bar" => :controller=>"f
{{#tags}}- {{label}}
{{/tags}}