view config/routes.rb @ 489:361ab9e7ffad

Replace webpacker with esbuild and use plain js instead of coffee
author nanaya <me@nanaya.net>
date Tue, 17 Jan 2023 02:34:06 +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