Mercurial > zeropaste
view config/routes.rb @ 253:1e2e999f586a
Use cookie store instead. Heh.
author | edogawaconan <me@myconan.net> |
---|---|
date | Thu, 10 Oct 2013 04:56:19 +0000 |
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