view config/routes.rb @ 277:fd130042a0e2

Sorted, removed unrelated ignores.
author edogawaconan <me@myconan.net>
date Wed, 16 Oct 2013 03:42:00 +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