Mercurial > zeropaste
view config/routes.rb @ 451:586faf5a98d1
Update gems
author | nanaya <me@nanaya.pro> |
---|---|
date | Thu, 27 Jul 2017 00:42:03 +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