Mercurial > zeropaste
view config/routes.rb @ 490:a39bc79fcb1a
Specify path to builds directory
author | nanaya <me@nanaya.net> |
---|---|
date | Tue, 17 Jan 2023 02:36:38 +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