Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

routes.rb

By: a guest on Nov 5th, 2011  |  syntax: Rails  |  size: 1.42 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
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"}
  17.  
clone this paste RAW Paste Data