view config/routes.rb @ 494:e508d3226214 default tip

Update gems
author nanaya <me@nanaya.net>
date Sun, 29 Oct 2023 23:24:13 +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