view config/routes.rb @ 367:b8c00142fbfc

Update gems.
author edogawaconan <me@myconan.net>
date Mon, 23 Mar 2015 19:07:16 +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