view config/routes.rb @ 497:3adab940b090

Update js libraries
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:19:46 +0900
parents 68eb23b52864
children d2ef59c9a4b4
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