Mercurial > zeropaste
view config/routes.rb @ 432:b6cabed63bc7
Add missing translation
author | nanaya <me@myconan.net> |
---|---|
date | Fri, 13 May 2016 03:59:39 +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