Mercurial > zeropaste
view config/routes.rb @ 416:c4c8214fb0b2
Simplify dom check
author | nanaya <me@myconan.net> |
---|---|
date | Mon, 14 Sep 2015 14:48:36 +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