Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Nov 5th, 2011  |  syntax: Rails  |  size: 1.42 KB  |  views: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.        posts GET    /posts(.:format)             {:action=>"index", :controller=>"posts"}
  2.              POST   /posts(.:format)             {:action=>"create", :controller=>"posts"}
  3.     new_post GET    /posts/new(.:format)         {:action=>"new", :controller=>"posts"}
  4.    edit_post GET    /posts/:id/edit(.:format)    {:action=>"edit", :controller=>"posts"}
  5.         post GET    /posts/:id(.:format)         {:action=>"show", :controller=>"posts"}
  6.              PUT    /posts/:id(.:format)         {:action=>"update", :controller=>"posts"}
  7.              DELETE /posts/:id(.:format)         {:action=>"destroy", :controller=>"posts"}
  8.    tag_posts GET    /posts/tag(.:format)         {:action=>"tag", :controller=>"posts"}
  9.              GET    /posts(.:format)             {:action=>"index", :controller=>"posts"}
  10.              POST   /posts(.:format)             {:action=>"create", :controller=>"posts"}
  11.              GET    /posts/new(.:format)         {:action=>"new", :controller=>"posts"}
  12.              GET    /posts/:id/edit(.:format)    {:action=>"edit", :controller=>"posts"}
  13.              GET    /posts/:id(.:format)         {:action=>"show", :controller=>"posts"}
  14.              PUT    /posts/:id(.:format)         {:action=>"update", :controller=>"posts"}
  15.              DELETE /posts/:id(.:format)         {:action=>"destroy", :controller=>"posts"}
  16.         root        /                            {:controller=>"posts", :action=>"index"}
clone this paste RAW Paste Data