Mercurial > zeropaste
view config/routes.rb @ 340:4b91c0c1938c
A more specific binding.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 28 May 2014 15:18:50 +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