Mercurial > zeropaste
view config/routes.rb @ 438:a5eae5b07abf
Prepare for removing custom database.yml
author | nanaya <me@myconan.net> |
---|---|
date | Sat, 02 Jul 2016 17:18:07 +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