Mercurial > zeropaste
view config/routes.rb @ 449:c4a596b4be8a
Contact update
author | nanaya <me@nanaya.pro> |
---|---|
date | Thu, 27 Jul 2017 00:22:46 +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