Mercurial > zeropaste
view config/routes.rb @ 473:8a90106a7be2
Seems working
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 23 Feb 2020 22:49:49 +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