view config/routes.rb @ 343:c914299c5459

Update rails and gems.
author edogawaconan <me@myconan.net>
date Thu, 03 Jul 2014 11:32:54 +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