Mercurial > zeropaste
view config/routes.rb @ 481:88fd5722fcb3
Update defaults
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 28 Nov 2021 19:45:05 +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