Mercurial > zeropaste
view config/routes.rb @ 222:9bc35555d3e3
Use external jquery instead of rails' builtin
Saves bandwidth and (hopefully) improves speed.
| author | Edho Arief <edho@myconan.net> | 
|---|---|
| date | Sun, 12 May 2013 12:38:03 +0900 | 
| parents | 953d284ec195 | 
| children | 9fe8c29c27c4 | 
line wrap: on
 line source
Zeropaste::Application.routes.draw do post '(pastes)' => 'pastes#create', format: /(html|json|xml|txt)/, as: 'pastes' resources :pastes, only: [:show, :destroy], path: "/" root to: 'pastes#new' end
