This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.14 KB  |  views: 10  |  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. resources :photos do
  2.   member do
  3.     get :preview
  4.   end
  5. end
  6.  
  7.  
  8. vs
  9.  
  10.  
  11. resources :photos do
  12.   collection do
  13.     get :search
  14.   end
  15. end
clone this paste RAW Paste Data