view config/routes.rb @ 309:9fe8c29c27c4

Standardize syntax.
author edogawaconan <me@myconan.net>
date Wed, 12 Mar 2014 19:52:28 +0900
parents 953d284ec195
children 68eb23b52864
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