Mercurial > zeropaste
view config/routes.rb @ 336:8286aec90912
Fix quoting.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 23 Apr 2014 09:33:08 +0900 |
parents | 9fe8c29c27c4 |
children | 68eb23b52864 |
line wrap: on
line source
Zeropaste::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