view config/routes.rb @ 435:1d113463d154

Fix test deprecations
author nanaya <me@myconan.net>
date Fri, 13 May 2016 04:04:29 +0900
parents 68eb23b52864
children
line wrap: on
line source

Rails.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