Mercurial > zeropaste
view config/routes.rb @ 359:824ac1165404
Update gems.
author | edogawaconan <me@myconan.net> |
---|---|
date | Tue, 04 Nov 2014 10:42:41 +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