view config/routes.rb @ 476:5d3567759915

Update gems
author nanaya <me@nanaya.pro>
date Thu, 06 Aug 2020 23:08:41 +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