view config/routes.rb @ 492:3038dddd33cb

Adjust build script (matches rails default)
author nanaya <me@nanaya.net>
date Tue, 17 Jan 2023 02:50:24 +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