view config/routes.rb @ 339:62d16b74e3d7

Update mail address.
author edogawaconan <me@myconan.net>
date Sun, 11 May 2014 16:53:45 +0900
parents 9fe8c29c27c4
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